code: def typed_gen(self, _):
      ret = []
      size = random.randint(0, 10)
      if random.randint(0, 4) == 0:  # heterogeneous
          for _ in range(size):
              ret.append(self.any_gen())
      else:  # homogeneous
          t = random.choice([bool(), int(), float(), str()])
          for _ in range(size):
              ret.append(self.typed_gen(t))
      return ret
  
imports: import copy
  import random
  import string
  import time
  from typing import Any, Dict, List, Set, Tuple
  from multipledispatch import dispatch
  from evalplus.gen.mut_gen import MutateGen
  from evalplus.gen.util import trusted_check_exec
label_desc: Use image node_id 10 for calling the TypedMutGen obj's underlying member method code with example usage: obj.typed_gen(_) and returns: ret