<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def match_in(grammar, text):
 """Determine if there is a match for grammar in text."""

    for result in grammar.parseWithTabs().scanString(text):
        return True
    return False