def mounted(fs):
    return any(fs == entry.dev or fs == entry.point for entry in mount_table())
Indicates if a the given filesystem (device file or mount point) is currently mounted
dataset/ETHPy150Open tomerfiliba/plumbum/plumbum/fs/mounts.py/mounted