code: def check_generic_request(self, item_session: ItemSession) -> Tuple[bool, str]:
          '''Check URL filters and scripting hook.
  
          Returns:
              tuple: (bool, str)
          '''
          verdict, reason, test_info = self.consult_filters(
              item_session.request.url_info,
              item_session.url_record)
  
          verdict, reason = self.consult_hook(item_session, verdict,
                                              reason, test_info)
  
          return verdict, reasof check_generic_request(self, item_session: ItemSession) -> Tuple[bool, str]:
          '''Check URL filters and scripting hook.
  
          Returns:
              tuple: (bool, str)
          '''
          verdict, reason, test_info = self.consult_filters(
              item_session.request.url_info,
              item_session.url_record)
  
          verdict, reason = self.consult_hook(item_session, verdict,
                                              reason, test_info)
  
          return verdict, reason
docs: Check URL filters and scripting hook.
  
          Returns:
              tuple: (bool, str)