code: def element_as_smcresult_use_filter(name, _filter):
      
      if name:
          element = fetch_meta_by_name(name, filter_context=_filter)
          if element.msg:
              return element
          if element.json:
              return element_by_href_as_smcresult(element.json.pop().get('href'))
docs: Return SMCResult object and use search filter to
      find object
  
      :param name: name of element to find
      :param _filter: filter to use, i.e. tcp_service, host, etc
      :return: :py:class:`smc.api.web.SMCResult`