def METHOD_NAME(value):
    if not DistributedVariable.is_available():
        return False
    from torch.distributed._tensor import DTensor
    return inspect.isfunction(value) and value is DTensor.from_local