#NEWLINE# def ExecuteUntilFalse( method , interval_s ) : #NEWLINE# #INDENT# 'Executes a method forever until the method returns a false value.\n\n  Args:\n    method: The callable to execute.\n    interval_s: The number of seconds to start the execution after each method\n        finishes.\n  Returns:\n    An Interval object.\n  ' #NEWLINE# interval = Interval ( interval , stop_if_false = True ) #NEWLINE# interval . Start ( interval_s ) #NEWLINE# return interval