def guess_contains_python(lines):
    """Tries to determine if a file includes python
    """
    for line in lines:
        if (
            'Fatal Python error: unable to decode the command line argument' in
            line):
            return 1
        if 'CPython' in line:
            return 1
        if 'Internal error in the Python interpreter' in line:
            return 1
    return 0
