code: def get_storage_location():
      
      location = api.portal.getSite()
      if location.get('bika_setup', False):
          location = location['bika_setup']
      return location
docs: get the portal with the plone.api