code: def get_apps(self):
          
          ena_apps = {}
  
          res = self._make_ocs_request('GET', self.OCS_SERVICE_CLOUD, 'apps')
          if res.status_code != 200:
              raise HTTPResponseError(res)
          tree = ET.fromstring(res.content)
          self._check_ocs_status(tree)
          # <data><apps><element>files</element><element>activity</element> ...
          for el in tree.findall('data/apps/element'):
              ena_apps[el.text] = False
  
          res = self._make_ocs_request('GET', self.OCS_SERVICE_CLOUD,
                                       'apps?filter=enabled')
          if res.status_code != 200:
              raise HTTPResponseError(res)
          tree = ET.fromstring(res.content)
          self._check_ocs_status(tree)
          for el in tree.findall('data/apps/element'):
              ena_apps[el.text] = True
  
          return ena_apps
docs: List all enabled apps through the provisioning api.
  
          :returns: a dict of apps, with values True/False, representing the enabled state.
          :raises: HTTPResponseError in case an HTTP error status was returned