def METHOD_NAME(obj):
  """Returns true if docs generation should be skipped for this object.
  checks for the `do_not_generate_docs` or `do_not_doc_inheritable` decorators.
  Args:
    obj: The object to document, or skip.
  Returns:
    True if the object should be skipped
  """
  # Unwrap fget if the object is a property
  if isinstance(obj, property):
    obj = obj.fget
  return hasattr(obj, _DO_NOT_DOC) or hasattr(obj, _DO_NOT_DOC_INHERITABLE)