public static bool Untrusted(RubyContext/*!*/ context, object self) { if (!RubyUtils.HasObjectState(self)) { return false; // can't untrust value types } return context.IsObjectUntrusted(self); }