docs: def find_item_in_path_by_type(self, si, path, obj_type):
          """
          This function finds the first item of that type in path
          :param ServiceInstance si: pyvmomi ServiceInstance
          :param str path: the path to search in
          :param type obj_type: the vim type of the object
          :return: pyvmomi type instance object or None
          """
          if obj_type is None:
              return None
  
          search_index = si.content.searchIndex
          sub_folder = si.content.rootFolder
  
          if path is None or not path:
              return sub_folder
          paths = path.split("/")
  
          for currPath in paths:
              if currPath is None or not currPath:
                  continue
  
              manage = search_index.FindChild(sub_folder, currPath)
  
              if isinstance(manage, obj_type):
                  return manage
          return None