<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def is_(self, state):
 """Check if machine is in given state."""

    translator = self._meta['translator']
    state = translator.translate(state)
    return self.actual_state == state