EnergyUsingObject.getIsPluggedIn C# (CSharp) Method