.. versionadded:: 2018.3.0

    Provide information if the path is mounted

    CLI Example:

    .. code-block:: bash

        salt '*' mount.read_mount_cache /mnt/share

def read_mount_cache(name):
    '''
    .. versionadded:: 2018.3.0

    Provide information if the path is mounted

    CLI Example:

    .. code-block:: bash

        salt '*' mount.read_mount_cache /mnt/share
    '''
    cache = salt.utils.mount.read_cache(__opts__)
    if cache:
        if 'mounts' in cache and cache['mounts']:
            if name in cache['mounts']:
                return cache['mounts'][name]
    return {}