Find volume by name on minion

def _find_volume(name):
    '''
    Find volume by name on minion
    '''
    docker_volumes = __salt__['docker.volumes']()['Volumes']
    if docker_volumes:
        volumes = [v for v in docker_volumes if v['Name'] == name]
        if volumes:
            return volumes[0]

    return None