def is_mounted(path):
    """checks if path is on a mounted path."""
    manager = get_manager()
    if not manager:
        return False
    fsi = manager.get_fsi(path)[0]
    return (fsi is not None)
checks if path is on a mounted path.
bin/ls.py