def __eq__(self, other: object) -> bool:
    if (not isinstance(other, RunState)):
        return NotImplemented
    return ((self.life_cycle_state == other.life_cycle_state) and (self.result_state == other.result_state) and (self.state_message == other.state_message))
def __eq__(self, other: object) -> bool:
    if (not isinstance(other, RunState)):
        return NotImplemented
    return ((self.life_cycle_state == other.life_cycle_state) and (self.result_state == other.result_state) and (self.state_message == other.state_message))