docs: def modifyExtensions(self,
                           extensionObjects=[]):
          """
          enables/disables a service extension type based on the name
          """
  
          if len(extensionObjects) > 0 and \
             isinstance(extensionObjects[0], Extension):
              self._extensions = extensionObjects
              res = self.edit(str(self))
              self._json = None
              self.__init()
              return res