original_docstring:  Check if model flavor is valid
  
      :param flavor: the model flavor (e.g. "pyfunc")
  
      :return: True if valid flavor, False otherwise
      
docstring: Check if model flavor is valid
docstring_tokens: Check if model flavor is valid
code: def _is_valid_flavor(flavor: str) -> bool:
      """ Check if model flavor is valid
  
      :param flavor: the model flavor (e.g. "pyfunc")
  
      :return: True if valid flavor, False otherwise
      """
      return flavors.get(flavor) is not None
code_tokens: def _is_valid_flavor ( flavor : str ) -> bool : return flavors . get ( flavor ) is not None
short_docstring: Check if model flavor is valid
short_docstring_tokens: Check if model flavor is valid
comment: """ Check if model flavor is valid
  
      :param flavor: the model flavor (e.g. "pyfunc")
  
      :return: True if valid flavor, False otherwise
      """