def exists(self) -> bool:
    'Returns True if the path exists.'
    return (self.is_dir() or self.is_file())
Returns True if the path exists.
def exists(self) -> bool:
    
    return (self.is_dir() or self.is_file())