def isProQuestFile(infile, checkedLines=2):
    """Determines if _infile_ is the path to a ProQuest file. A file is considered to be a Proquest file if it has the correct encoding (`utf-8`) and within the first _checkedLines_ the following starts.

        ____________________________________________________________

        Report Information from ProQuest

    # Parameters

    _infile_ : `str`

    > The path to the targets file

    _checkedLines_ : `optional [int]`

    > default 2, the number of lines to check for the header

    # Returns

    `bool`

    > `True` if the file is a valid ProQuest file
    """
    try:
        with open(infile, 'r', encoding='utf-8') as openfile:
            f = enumerate(openfile, start=0)
            for i in range(checkedLines):
                if f.__next__()[1] == '_' * 60 + '\n' and f.__next__()[1
                    ] == '\n' and f.__next__()[1
                    ] == """Report Information from ProQuest
""":
                    return True
    except (StopIteration, UnicodeDecodeError):
        return False
    else:
        return False
