public static bool IsNullOrUndefined(JsInstance o) { return (o == JsUndefined.Instance) || (o == JsNull.Instance) || (o.IsClr && o.Value == null); }