How to tell petiole apart from stem? Is it by the rule that there is usually a pair of stipules at the base of a petiole?

[![enter image description here][1]][1]


  [1]: https://i.sstatic.net/T2jdW.jpg