https://www.sageadvice.eu/does-detect-magic-reveal-the-magic-of-a-visible-object-placed-inside-a-sealed-bottle/
Does Detect Magic reveal the magic of a visible object placed inside a sealed bottle?