code: def _is_apache_flink_libraries_home(path):
      flink_dist_jar_file = path + "/lib/flink-dist*.jar"
      if len(glob.glob(flink_dist_jar_file)) > 0:
          return True
      else:
          return False
  
imports: import glob
  import logging
  import os
  import sys
label_desc: Use image node_id 2 for calling a global function with example usage: _is_apache_flink_libraries_home(path) and returns: True, False