def LoopUntilTimeoutOrTrue(timeout_s, function, sleep_s=1):  # pylint: disable=invalid-name
  return LoopUntilTimeoutOrValid(timeout_s, function, lambda x: x, sleep_s)
best_prefix_base: can handle bitmath type inputs
dataset/ETHPy150Open google/openhtf/openhtf/util/timeouts.py/LoopUntilTimeoutOrTrue--crossover with--dataset/ETHPy150Open tbielawa/bitmath/tests/test_best_prefix_BASE.py/TestBestPrefixBASE.test_best_prefix_with_bitmath_input