Question

I did not see this covered in the videos that I watched so I just wanted to clarify this concept. Here, an NH2 group is being converted to an NO2 group by a peroxyacid. Is this a legitimate reaction?