def _check_footer_magic_bytes(fo):
    fo.seek(-4, 2)  # seek to four bytes from the end of the file
    magic = fo.read(4)
    return magic == 'PAR1'
Returns true if the file-like obj has the PAR1 magic bytes at the footer
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/parquet-python/parquet/__init__.py/_check_footer_magic_bytes