def ensure_local(path):
    """Ensures that the given path is local.

    Args:
        path: a path
    """
    if not is_local(path):
        raise ValueError(
            "The requested operation requires a local path, but found '%s'"
            % path
        )
Ensures that the given path is local.

    Args:
        path: a path
    
fiftyone/core/storage.py