added Entity.has_role