def is_storage_local(storage):
    """
    Check to see if a file storage is local.
    """
    try:
        storage.path('test')
    except __HOLE__:
        return False
    return True
dataset/ETHPy150Open SmileyChris/easy-thumbnails/easy_thumbnails/utils.py/is_storage_local