code: def flatten(lists):
      """Flatten a list-of-lists."""
      return list(itertools.chain.from_iterable(lists))
  
imports: from collections.abc import Callable, Sequence
  import itertools
  import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: flatten(lists) and returns: list