original_docstring: Return True, if at minimum *min_num* and at maximum *max_num* results have an expected value for a given key.
  
  		:param key: The key for the results fields.
  		:param expected: The expected value to look for in the results fields.
  		:param min_num: Minimum number.
  		:param max_num: Maximum number.
  		:return: True if the count of fields that have the expected value is `>=` min_num and `<=` max_num.
  		
docstring: Return True, if at minimum *min_num* and at maximum *max_num* results have an expected value for a given key.
docstring_tokens: Return True if at minimum * min_num * and at maximum * max_num * results have an expected value for a given key .
code: def min_max(self, key, expected, min_num, max_num):
  		"""Return True, if at minimum *min_num* and at maximum *max_num* results have an expected value for a given key.
  
  		:param key: The key for the results fields.
  		:param expected: The expected value to look for in the results fields.
  		:param min_num: Minimum number.
  		:param max_num: Maximum number.
  		:return: True if the count of fields that have the expected value is `>=` min_num and `<=` max_num.
  		"""
  		cnt = 0
  		for value in self.fields(key, nokey_value=KeyError):
  			if value == expected:
  				cnt += 1
  				if cnt > max_num:
  					return False
  		return cnt >= min_num
code_tokens: def min_max ( self , key , expected , min_num , max_num ) : cnt = 0 for value in self . fields ( key , nokey_value = KeyError ) : if value == expected : cnt += 1 if cnt > max_num : return False return cnt >= min_num
short_docstring: Return True, if at minimum *min_num* and at maximum *max_num* results have an expected value for a given key.
short_docstring_tokens: Return True if at minimum * min_num * and at maximum * max_num * results have an expected value for a given key .
comment: """Return True, if at minimum *min_num* and at maximum *max_num* results have an expected value for a given key.
  
  		:param key: The key for the results fields.
  		:param expected: The expected value to look for in the results fields.
  		:param min_num: Minimum number.
  		:param max_num: Maximum number.
  		:return: True if the count of fields that have the expected value is `>=` min_num and `<=` max_num.
  		"""