def has_component(self, entity: int, component_type: Any) -> bool:
return component_type in self._entities[entity]<EOL>
Check if a specific Entity has a Component of a certain type.

        :param entity: The Entity you are querying.
        :param component_type: The type of Component to check for.
        :return: True if the Entity has a Component of this type,
        otherwise False