def _ensure_readme(self):
    if self._cachedir.is_dir():
        readme_path = (self._cachedir / 'README.md')
        if (not readme_path.is_file()):
            readme_path.write_text(README_CONTENT)
def _ensure_readme(self):
    if self._cachedir.is_dir():
        readme_path = (self._cachedir / 'README.md')
        if (not readme_path.is_file()):
            readme_path.write_text(README_CONTENT)