code: def _is_flink_home(path):
      flink_script_file = path + "/bin/flink"
      if len(glob.glob(flink_script_file)) > 0:
          return True
      else:
          return False
  
imports: import glob
  import logging
  import os
  import sys
label_desc: Use image node_id 1 for calling a global function with example usage: _is_flink_home(path) and returns: True, False