Add method for checking the collection is empty

- null 値を許容する形での実装
Merge pull request #29 from KeithYokoma/feature/CollectionEmptyCheck

Add method for checking the collection is empty