def file_has_this_content(path, content, encoding='utf8'):
    with io.open(path, 'rt', encoding=encoding) as f:
        indeed = content == f.read()
    return indeed
True if the file is identical to the content.
dataset/ETHPy150Open jpscaletti/Voodoo/voodoo/helpers.py/file_has_this_content