code: def _FilterNonCoreGoldenFiles(golden_file_list):
      """Filter out non-core API pbtxt files."""
      return _FilterGoldenFilesByPrefix(
          golden_file_list, _NON_CORE_PACKAGES
      )
  
imports: import argparse
  import os
  import re
  import sys
  import tensorflow
  from google.protobuf import message
  from google.protobuf import text_format
  from tensorflow.python.lib.io import file_io
  from tensorflow.python.platform import resource_loader
  from tensorflow.python.platform import test
  from tensorflow.python.platform import tf_logging
  from tensorflow.tools.api.lib import api_objects_pb2
  from tensorflow.tools.api.lib import python_object_to_proto_visitor
  from tensorflow.tools.common import public_api
  from tensorflow.tools.common import traverse
label_desc: Use image node_id 5 for calling a global function with example usage: _FilterNonCoreGoldenFiles(golden_file_list) and returns: _FilterGoldenFilesByPrefix