public static bool isBuiltIn(string name, long level) { bool ret = libsbmlPINVOKE.Unit_isBuiltIn(name, level); if (libsbmlPINVOKE.SWIGPendingException.Pending) throw libsbmlPINVOKE.SWIGPendingException.Retrieve(); return ret; }