def METHOD_NAME(module, *args, **kwargs):
    try:
        return method(*args, **kwargs)
    except NotImplementedError:
        delegate_module = __import__(delegate_name)
        return getattr(delegate_module, attribute)(*args, **kwargs)