code: def concat_ast(asts):
      return Document(
          definitions=list(
              itertools.chain.from_iterable(
                  document.definitions for document in asts
              )
          )
      )
  
label_desc: Use image node_id 1 for calling a global function with example usage: concat_ast(asts) and returns: Document