Whether there are any conflict markers in that file

def conflicted(path_to_file):
    """Whether there are any conflict markers in that file"""
    for line in open(path_to_file, 'r'):
        for marker in '>="<':
            if line.startswith(marker * 8):
                return True
    return False