Added method for checking leaves #26
Merge pull request #27 from scampi/issue26

Added method for checking leaves #26