Adding isEmpty method and tests (AGIOS-32)
Fixing little typo
Merge branch 'isEmpty'