code: def _filter_plans(attr, name, plans):
      '''
      Helper to return list of usage plan items matching the given attribute value.
      '''
      return [plan for plan in plans if plan[attr] == namef _filter_plans(attr, name, plans):
      '''
      Helper to return list of usage plan items matching the given attribute value.
      '''
      return [plan for plan in plans if plan[attr] == name]
docs: Helper to return list of usage plan items matching the given attribute value.