code: def to_model(self):
      return dict(
          method=self.method,
          keep_one=self.keep_one,
          selected_mask=self._selected_mask.to_dict(),
      )
  
imports: import copy
  import logging
  import math
  import random
  import numpy
  import pandas
  from fate.arch import Context
  from ..abc.module import HeteroModule, Module
label_desc: Use image node_id 7 for calling the ManualSelection obj's underlying member method code with example usage: obj.to_model() and returns: dict