parameters: (filename)
return_statement: return os.path.splitext(filename)[1] in (".yaml", ".yml")
docstring: Return true if 'filename' ends in .yml or .yaml, and false otherwise.
docstring_summary: Return true if 'filename' ends in .yml or .yaml, and false otherwise.
docstring_tokens: Return true if filename ends in . yml or . yaml and false otherwise .
function: def is_yaml_file(filename):
      """Return true if 'filename' ends in .yml or .yaml, and false otherwise."""
      return os.path.splitext(filename)[1] in (".yaml", ".yml")
function_tokens: def is_yaml_file ( filename ) : return os . path . splitext ( filename ) [ 1 ] in ( ".yaml" , ".yml" )