Merge pull request #2 from martinrybak/master

Added isNilOrEmpty class method
Made isNilOrEmpty method easier to read