code: def sleep(secs):
      
      hub = get_hub()
      try:
          with switch_back(secs, hub):
              hub.switch()
      except Timeout:
          pass
docs: Sleep for *secs* seconds. The *secs* argument can be an int or a float.