Coerce onOrOff to a boolean