code: def check_initial_web_request(self, item_session: ItemSession, request: HTTPRequest) -> Tuple[bool, str]:
          '''Check robots.txt, URL filters, and scripting hook.
  
          Returns:
              tuple: (bool, str)
  
          Coroutine.
          '''
          verdict, reason, test_info = self.consult_filters(item_session.request.url_info, item_session.url_record)
  
          if verdict and self._robots_txt_checker:
              can_fetch = yield from self.consult_robots_txt(request)
  
              if not can_fetch:
                  verdict = False
                  reason = 'robotstxt'
  
          verdict, reason = self.consult_hook(
              item_session, verdict, reason, test_info
          )
  
          return verdict, reasof check_initial_web_request(self, item_session: ItemSession, request: HTTPRequest) -> Tuple[bool, str]:
          '''Check robots.txt, URL filters, and scripting hook.
  
          Returns:
              tuple: (bool, str)
  
          Coroutine.
          '''
          verdict, reason, test_info = self.consult_filters(item_session.request.url_info, item_session.url_record)
  
          if verdict and self._robots_txt_checker:
              can_fetch = yield from self.consult_robots_txt(request)
  
              if not can_fetch:
                  verdict = False
                  reason = 'robotstxt'
  
          verdict, reason = self.consult_hook(
              item_session, verdict, reason, test_info
          )
  
          return verdict, reason
docs: Check robots.txt, URL filters, and scripting hook.
  
          Returns:
              tuple: (bool, str)
  
          Coroutine.