code: def check_term(card, term):
      
      check_list = [
          x.lower() for x in [card.name, card.suit, card.value, card.abbrev,
          card.suit[0], card.value[0]]
      ]
  
      term = term.lower()
  
      for check in check_list:
          if check == term:
              return True
  
      return False
docs: Checks a given search term against a given card's full name, suit,
      value, and abbreviation.
  
      :arg Card card:
          The card to check.
      :arg str term:
          The search term to check for. Can be a card full name, suit,
          value, or abbreviation.
  
      :returns:
          ``True`` or ``False``.