How to check if the Element is can be looped?