def METHOD_NAME(app, what, name, obj, skip, options):
    import collections
    is_deprecated = oneflow.is_deprecated(obj)
    if is_deprecated:
        print("skipping deprecated", what, name, obj)
    magical = name in ["__weakref__", "__doc__", "__module__", "__dict__"]
    return skip or is_deprecated or magical