Add `isElem` method

Resolved #2