'Checks if share is compatible with volume to host its clone.'

def _is_share_clone_compatible(self, volume, share):

    flexvol_name = self._get_flexvol_name_for_share(share)
    thin = self._is_volume_thin_provisioned(flexvol_name)
    return (self._share_has_space_for_clone(share, volume['size'], thin) and self._is_share_vol_type_match(volume, share, flexvol_name))
