'Check validity based on the ordinal value and the second line.
Return true iff the ordinal is valid and the second line is blank,
indented, or starts with the next enumerator or an auto-enumerator.'

def is_enumerated_list_item(self, ordinal, sequence, format):

    if (ordinal is None):
        return None
    try:
        next_line = self.state_machine.next_line()
    except EOFError:
        self.state_machine.previous_line()
        return 1
    else:
        self.state_machine.previous_line()
    if (not next_line[:1].strip()):
        return 1
    result = self.make_enumerator((ordinal + 1), sequence, format)
    if result:
        (next_enumerator, auto_enumerator) = result
        try:
            if (next_line.startswith(next_enumerator) or next_line.startswith(auto_enumerator)):
                return 1
        except TypeError:
            pass
    return None
