Returns true if the preference has been assigned a value.
Note: the Gadgets API exposes no existence check, so for a preference backed by a real player this is a probe — a preference is considered present when it reads back as a non-empty string. A preference explicitly set to an empty string is therefore reported as absent. Preferences backed by MockPrefs track existence exactly.
The preferences interface returned by PlayerClient.getPrefs.
Extends the Gadgets API
Prefssurface with existence checks (IPrefs.has) and nullable getters, which let a gadget distinguish an unset preference from one deliberately set to a falsy value such asfalse,0, or''.