Prove $$|xy| = |x|\cdot |y| $$
Proofs abound, but the most elegant I have seen include steps like this. (I understand this does not complete the proof, but the shown part includes the issue that I am not completely understanding).
$${(|xy|)}^{2} = {(xy)}^{2} = {x}^{2}{y}^{2} = (|x| \cdot |y|)^{2} $$
What's been unclear to me is the assertion made in the last step ie allowing us to assert $(|x| \cdot |y|)^{2}$ as opposed to asserting only $(x \cdot y)^{2}$ as was done in the second step. Is this nothing more than strictly applying the definition of Absolute Value to a number known to be $\geq 0$? For example, can one simply state that if $a \geq 0$ then $a = |a|$