Add `isBlockMod` and `isElemMod` methods

Resolved #3