'Ensure the state machine is currently in `state`, or wait until it enters `state`.'

def ensure(self, state, wait=0.0, block_on_transition=False):

    return self.ensure_any((state,), wait=wait, block_on_transition=block_on_transition)
