code: def check(actions, request, target=None):
      
  
      policy_check = utils_settings.import_setting("POLICY_CHECK_FUNCTION")
  
      if policy_check:
          return policy_check(actions, request, target)
  
      return True
docs: Wrapper of the configurable policy method.