check Element type