Given any positive prime $p$, there is some cyclotomic extension $\Bbb Q[\omega_n]$ of $\Bbb Q$ containing $\sqrt p$ as a consequence of Kronecker–Weber theorem. But more specifically, given any positive integer $n$ is there any nice way to tell if $\sqrt p\in\Bbb Q[\omega_n]$? I am looking for a way to compute the "yes or no" just like Legendre symbol, or any related results.
This question arises naturally when one attempts to compute the degree of the extension $\Bbb Q\left[\omega_n,\sqrt{p}\right]$ over $\Bbb Q$, in which case $\Bbb Q\left[\omega_n,\sqrt p\right]$ has degree $2$ over $\Bbb Q[\omega_n]$ if and only if $\sqrt p\in\Bbb Q[\omega_n]$. This computation is crucial in determining the degree of the splitting field of $x^n-p$ over $\Bbb Q$.