code: def chain(*funcs):
      def chained_call(arg):
          return reduce(lambda x, f: f(x), funcs, arg)
  
      return chained_call
  
imports: import re
  import threading
  from datetime import datetime
  from functools import reduce
  from os import environ
  from os.path import abspath, dirname, exists, isfile, join
  import pytest
  import yaml
  from pytest_socket import disable_socket
  from vcr import VCR
  import sentinelsat
  from sentinelsat import SentinelAPI, geojson_to_wkt, read_geojson
  from .custom_serializer import BinaryContentSerializer
label_desc: Use image node_id 5 for calling a global function with example usage: chain() and returns: chained_call, reduce