Determining if a math input contains an exponent

I don’t believe there’s a specific function for that, but I think you probably can figure it out with some workarounds. There was a discussion a few days ago regarding scientific notation and powers, so maybe something here can help?