code: def input_list(
      key,  # type: str
      description="",  # type: str
      question="Enter",  # type: str
      required=False,  # type: bool
      default=None,  # type: Optional[str]
      new_line=False,  # type: bool
  ):
      res = get_input(
          key, description, question, required, default, new_line
      )
      if not res:
          return None
  
      res_list = [res]
      while input_bool("\nDefine another {}? [y/N]".format(key)):
          response = get_input(
              key=key,
              description=description,
              question=question,
              required=False,
              default=default,
              new_line=new_line,
          )
          if response:
              res_list.append(response)
      return res_list
  
imports: from typing import Optional
label_desc: Use image node_id 4 for calling a global function with example usage: input_list(key, description, question, required, default, new_line) and returns: res_list, None