def path_requires_pathmanager(path: str) -> bool:
        """Do we require PathManager to access given path?"""
        if IOPathManager:
            for p in IOPathManager._path_handlers.keys():
                if path.startswith(p):
                    return True
        return False
Do we require PathManager to access given path?
structured_prompting/fairseq-version/fairseq/fairseq/file_io.py