code: def wrap_predict(predict_fn):
      """Wraps prediction functions to output predictions and a confidence score of 1
  
      Parameters
      ----------
      predict_fn : function
          Outputs a list of predictions given inputs (strings, integers, whatever)
  
      Returns
      -------
      function
          wrapped prediction function, returns (preds, confs) such that confs is list of float(1)
  
      """
  
      def pred_and_conf(inputs):
          preds = predict_fn(inputs)
          confs = np.ones(len(preds))
          return preds, confs
  
      return pred_and_conf
  
label_desc: Use image node_id 2 for calling the PredictorWrapper obj's underlying member method code with example usage: obj.wrap_predict(predict_fn) and returns: pred_and_conf, preds,  confs