Odd Problem with My iMac Power Button (27", 2011)

2112st

Tinkerer
Oct 8, 2023
260
98
28
Northeastern New Jersey, USA
So, this has been a problem that's been happening occasionally, but I'm not sure if it's getting worse or not. I have a 27" 2011 iMac. I sometimes have to press the power button a couple of times before it turns on. Could the power switch be failing?