code: def _filter_and_process_outputs(outputs):
      outputs = [o for o in outputs if _allowed_output(o)]
      # just return the latest output if any
      return None if not outputs else _process_output(outputs[-1])
  
imports: import base64
  from collections.abc import Mapping
  import ast
  import parso
  import pandas
  import nbformat
  from IPython.display import Image, HTML
label_desc: Use image node_id 6 for calling a global function with example usage: _filter_and_process_outputs(outputs) and returns: unknown