<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def finished_or_stopped(self):
 """ Condition check on finished or stopped status The method returns a value which is equivalent with not 'active' status of the current state machine. :return: outcome of condition check stopped or finished :rtype: bool """

        return (self._status.execution_mode is StateMachineExecutionStatus.STOPPED) or \
               (self._status.execution_mode is StateMachineExecutionStatus.FINISHED)