<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_keyword(token, keywords):
 """ Checks if the given token represents one of the given keywords """

    if not token:
        return False
    if not token.is_keyword:
        return False

    return token.value.upper() in keywords