public bool isPkgEnabled(string pkgName) { bool ret = libsbmlPINVOKE.SBase_isPkgEnabled(swigCPtr, pkgName); if (libsbmlPINVOKE.SWIGPendingException.Pending) throw libsbmlPINVOKE.SWIGPendingException.Retrieve(); return ret; }