code: def keyword(tokens, expected):
      
      try:
          token = next(iter(tokens))
      except StopIteration:
          return
  
      if token and token.name == "symbol" and token.value.lower() == expected:
          return TokenMatch(None, token.value, (token,))
docs: Case-insensitive keyword match.