def VerifyXsrfToken(self, action):
    xsrf_token = self.request.get('xsrf-token', None)
    if settings.XSRF_PROTECTION_ENABLED:
      if not util.XsrfTokenValidate(xsrf_token, action):
        raise models.AccessDeniedError('Valid XSRF token not provided')
    elif not xsrf_token:
      logging.info(
          'Ignoring missing XSRF token; settings.XSRF_PROTECTION_ENABLED=False')
    return True

  # pylint: disable=g-bad-name
Load custom test package from module and app
dataset/ETHPy150Open google/cauliflowervest/src/cauliflowervest/server/handlers/__init__.py/AccessHandler.VerifyXsrfToken--crossover with--dataset/ETHPy150Open plus500s/django-test-tools/test_tools/test_runner.py/DiscoveryDjangoTestSuiteRunner.load_custom_test_package