Check if an object is of element type
obj – Object to check
whether the object is an element or not
bool