code: def element_by_href_as_smcresult(href, params=None):
      
      if href:
          element = fetch_json_by_href(href, params=params)
          if element:
              return element
docs: Get specified element returned as an SMCResult object
  
      :param href: href direct link to object
      :return: :py:class:`smc.api.web.SMCResult` with etag, href and
               element field holding json, else None