Since the not-on result is 'undefined', a devilish implementer could return 1 for the off case, just to screw with people.
(How could this work in theory? Maybe the computer has a separate watchdog controller board which allows the computer to be turned on and off remotely, and that controller acts as a proxy for the API request.)