def METHOD_NAME(view_fn):
  def decorator(*args, **kwargs):
    if is_admin(args[0].user):
      return view_fn(*args, **kwargs)
    else:
      raise CatalogApiException('Manager API is for admins only.')
  return decorator