Detecting if AC appliance is powered

Thank you for your answers, I think the case can be closed.