code: def is_api_filter(self, filter_field):
          
          if self.filter_type == 'server':
              for choice in self.filter_choices:
                  if (choice[0] == filter_field and len(choice) > 2 and
                          choice[2]):
                      return True
          return False
docs: Determine if agiven filter field should be used as an API filter.