simplify sqrt(y) to y^1/2



Dear all,

I want to check if expr is of the form y^n. Is there a way to tell maxima that all sqrt() terms should be converted to/written as ()^1/2?