Added Entity:has function