def _can_enter_state(self, related_ids, state):
        for rid in related_ids:
            rid_requested_state = self.requested_states[rid]
            rid_current_state = self.cpu_states[rid].idle_state
            if rid_current_state is None:
                return None
            if rid_current_state < state and rid_requested_state < state:
                return False
        return True
This is a tri-state check. Returns ``True`` if related cpu states allow transition
dataset/ETHPy150Open ARM-software/workload-automation/wlauto/utils/power.py/PowerStateProcessor._can_enter_state