Checking the Element's Type