If this item has class EnergyManager in its config then it returns true. Otherwise returns false.
См. определение в файле 3_Game/Entities/EntityAI.c строка 3374
Перекрестные ссылки COMP_TYPE_ENERGY_MANAGER и HasComponent().