def exceeds_max_lines(filepath: str, max_lines: int) -> bool:
    """
    Test if given file in ``filepath`` has a content exceeds max lines
    ``max_lines``.

    >>> exceeds_max_lines(__file__, 1000000)
    False
    >>> exceeds_max_lines(__file__, 10)
    True
    """
    with open(filepath) as fobj:
        # Which is better?
        # return len(fobj.readliens()) > max_lines
        for idx, _line in enumerate(fobj):
            if idx + 1 > max_lines:
                return True

    return False