public bool hasURI(string uri) { bool ret = libsbmlPINVOKE.XMLNamespaces_hasURI(swigCPtr, uri); if (libsbmlPINVOKE.SWIGPendingException.Pending) throw libsbmlPINVOKE.SWIGPendingException.Retrieve(); return ret; }