<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def wait_while(self, condition, *args, **kw):
 """ Wait while a condition holds. """

    return self.wait_for(lambda: not condition(), *args, **kw)