[enhancement] added isEmpty() method
Merge pull request #59 from tkrille/cleanup

[enhancement] added isEmpty() method