'Check if this path is a POSIX mount point'

def is_mount(self):

    if ((not self.exists()) or (not self.is_dir())):
        return False
    parent = Path(self.parent)
    try:
        parent_dev = parent.stat().st_dev
    except OSError:
        return False
    dev = self.stat().st_dev
    if (dev != parent_dev):
        return True
    ino = self.stat().st_ino
    parent_ino = parent.stat().st_ino
    return (ino == parent_ino)
