def METHOD_NAME(*args, **kwargs):
  """Regular function wrapper."""
  from clusterfuzz._internal.metrics import monitoring_metrics
  for num_try in range(1, tries + 1):
    try:
      result = func(*args, **kwargs)
      if retry_on_false and not result:
        if not handle_retry(num_try):
          return result
        continue
      monitoring_metrics.TRY_COUNT.increment({
          'function': function,
          'is_succeeded': True
      })
      return result
    except Exception as e:
      if not handle_retry(num_try, exception=e):
        raise
  return None