def METHOD_NAME(self, outputLines, lineno, regexp):
    """Check whether a purported open file is actually something from OpenMPI."""
    result = False
    m = regexp.match(outputLines[lineno])
    while m:
        if m and m.group(1):
            result = True
            break
        if not m:
            break
        lineno += 1
        m = regexp.match(outputLines[lineno])
    return result