'All Nexus Files Simply puts a \'#NEXUS\' in its first line'

def sniff(self, filename):

    f = open(filename, 'r')
    firstline = f.readline().upper()
    f.close()
    if ('#NEXUS' in firstline):
        return True
    else:
        return False
