def _isFitByEquipmentId(self, equipmentId): equipment = getEquipmentById(equipmentId) return equipment.dotParams is not None if equipment else False
def __isEquipmentWithDamage(self, equipmentId): equipment = getEquipmentById(equipmentId) return equipment.dotParams is not None if equipment else False