<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def until_state(self, desired_state, timeout=None):
 """ Wait until state is desired_state, InspectingClientStateType instance Returns a future """

        return self._state.until_state(desired_state, timeout=timeout)