def check_docstring(func):
    if func.__module__.startswith('detectron2.'):
        assert ((func.__doc__ is not None) and ('experimental' in func.__doc__.lower())), f'configurable {func} should be marked experimental'
def check_docstring(func):
    if func.__module__.startswith('detectron2.'):
        assert ((func.__doc__ is not None) and ('experimental' in func.__doc__.lower())), f'configurable {func} should be marked experimental'