<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def chars_after(chars, match):
 """ Validate the match if right character is in a given sequence. :param chars: :type chars: :param match: :type match: :return: :rtype: """

    if match.end >= len(match.input_string):
        return True
    return match.input_string[match.end] in chars