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

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
checks if a version is greater than the known version for <what> .