'Checks if share matches volume type.'

def _is_share_vol_type_match(self, volume, share, flexvol_name):

    LOG.debug('Found    volume    %(vol)s    for    share    %(share)s.', {'vol': flexvol_name, 'share': share})
    extra_specs = na_utils.get_volume_extra_specs(volume)
    flexvol_names = self.ssc_library.get_matching_flexvols_for_extra_specs(extra_specs)
    return (flexvol_name in flexvol_names)
