'Try to guess if the file is a FPS file.
>>> from galaxy.datatypes.sniff import get_test_fname
>>> fname = get_test_fname(\'q.fps\')
>>> FPS().sniff(fname)
True
>>> fname = get_test_fname(\'drugbank_drugs.cml\')
>>> FPS().sniff(fname)
False'

def sniff(self, filename):

    header = get_headers(filename, sep=' DCTB ', count=1)
    if (header[0][0].strip() == '#FPS1'):
        return True
    else:
        return False
