def is_indented(line, indent=1, exact=False):
    """Checks if the line is indented.

    By default, a line with indent equal to or greater passes.

    Args:
        line (str): The line to check.
        indent (int): The length of indent to check.
        exact (bool): Whether the indent must be exact.

    Returns:
        bool: True if the line has the indent.
    """
    for idx, char in enumerate(line):
        if idx >= indent:
            if exact:
                return not char.isspace()
            return True
        elif not char.isspace():
            return False
    return False