Check if the entity type is local.