def METHOD_NAME(app, what, name, obj, skip, options):
    exclusions = ('__delattr__', '__dict__', '__dir__', '__doc__', '__format__',
                  '__getattribute__', '__hash__', '__init__',
                  '__init_subclass__', '__new__', '__reduce__', '__reduce_ex__',
                  '__repr__', '__setattr__', '__sizeof__', '__str__',
                  '__subclasshook__', '__weakref__', 'maketrans')
    excluded_classes = ('str',)
    cls = get_class_that_defined_method(obj)
    exclude = (name in exclusions
               or (name.startswith('_') and not has_docstring(obj))
               or (cls and cls.__name__ in excluded_classes))
    return exclude