code: def build_from_source():
      code_path = (
          bigdl_home + "/python/friesian/src/bigdl/friesian/__init__.py"
      )
      print("Checking: %s to see if build from source" % code_path)
      if os.path.exists(code_path):
          return True
      return False
  
file_path: BigDL/python/friesian/src/setup.py
imports: import os
  import sys
  import fnmatch
  from shutil import copytree, rmtree
  from setuptools import setup
label_desc: Use image node_id 1 for calling a global function with example usage: build_from_source() and returns: False, True