def _is_in_imported_paths(self, path: Text) -> bool:
    return any([rasa.shared.utils.io.is_subdirectory(path, i) for i in self._imports])
def _is_in_imported_paths(self, path: Text) -> bool:
    return any([rasa.shared.utils.io.is_subdirectory(path, i) for i in self._imports])