class_docstr: Converter responsible for ensuring that retrieval intent actions in stories
  start with `utter_` instead of `respond_`.
class_docstr_tok: ["Converter","responsible","for","ensuring","that","retrieval","intent","actions","in","stories","start","with","`","utter_","`","instead","of","`","respond_","`","."]
docstr: Only accept YAML story files.
  
  Args:
      source_path: Path to a training data file.
  
  Returns:
      `True` if the given file is a YAML stories file, `False` otherwise.
docstr_tok: ["Only","accept","YAML","story","files",".","Args",":","source_path",":","Path","to","a","training","data","file",".","Returns",":","`","True","`","if","the","given","file","is","a","YAML","stories","file",",","`","False","`","otherwise","."]
code: def filter(cls, source_path: Path) -> bool:
      """Only accept YAML story files.
  
      Args:
          source_path: Path to a training data file.
  
      Returns:
          `True` if the given file is a YAML stories file, `False` otherwise.
      """
      return YAMLStoryReader.is_stories_file(source_path)
  
file_path: rasa/rasa/core/training/converters/responses_prefix_converter.py
imports: from pathlib import Path
  from typing import Text
  from rasa.shared.core.domain import Domain, InvalidDomain
  from rasa.shared.core.events import ActionExecuted
  from rasa.shared.core.training_data.story_reader.yaml_story_reader import YAMLStoryReader
  from rasa.shared.core.training_data.story_writer.yaml_story_writer import YAMLStoryWriter
  from rasa.shared.constants import UTTER_PREFIX
  from rasa.utils.converter import TrainingDataConverter
label_desc: Use image node_id 1 for calling the StoryResponsePrefixConverter obj's underlying member method code with example usage: obj.filter(cls, source_path) and returns: YAMLStoryReader