[MONDRIAN-1791] added isLeaf function
Merge pull request #6 from sszabo/MONDRIAN-1791

[MONDRIAN-1791] added isLeaf function