code: def predefinedEntity(name):
      
      ret = libxml2mod.xmlGetPredefinedEntity(name)
      if ret is None:raise treeError('xmlGetPredefinedEntity() failed')
      return xmlEntity(_obj=ret)
docs: Check whether this name is an predefined entity.