code: def enforce_time_limit(self, site):
          '''
          Raises `brozzler.ReachedTimeLimit` if appropriate.
          '''
          if (site.time_limit and site.time_limit > 0
                  and site.elapsed() > site.time_limit):
              self.logger.debug(
                      "site FINISHED_TIME_LIMIT! time_limit=%s "
                      "elapsed=%s %s", site.time_limit, site.elapsed(), site)
              raise brozzler.ReachedTimeLimif enforce_time_limit(self, site):
          '''
          Raises `brozzler.ReachedTimeLimit` if appropriate.
          '''
          if (site.time_limit and site.time_limit > 0
                  and site.elapsed() > site.time_limit):
              self.logger.debug(
                      "site FINISHED_TIME_LIMIT! time_limit=%s "
                      "elapsed=%s %s", site.time_limit, site.elapsed(), site)
              raise brozzler.ReachedTimeLimit
docs: Raises `brozzler.ReachedTimeLimit` if appropriate.