public bool getPkgRequired(string package) { bool ret = libsbmlPINVOKE.SBMLDocument_getPkgRequired(swigCPtr, package); if (libsbmlPINVOKE.SWIGPendingException.Pending) throw libsbmlPINVOKE.SWIGPendingException.Retrieve(); return ret; }