I'm trying to hide the variant images from the product thumbnails below the main image. Normally I would use 'image.attached_to_variant?' to check and hide them, but because the newer themes are using the media object. instead of image, to support new types of medias, this doesn't work according to Shopify documentation. Does anyone know how to achieve the same result with the media object?