def METHOD_NAME(self, name, args, kwargs):
    # It is unnecessary to define this function if algorithms are fully supported.
    # We include it for illustration purposes.
    return hasattr(self, name)