def is_empty(filename):
    '''
    Is a file empty?
    '''
    try:
        return os.stat(filename).st_size == 0
    except __HOLE__:
        # Non-existent file or permission denied to the parent dir
        return False
dataset/ETHPy150Open saltstack/salt/salt/utils/__init__.py/is_empty