code: def is_sentencepiece_installed():
      try:
          subprocess.check_call(
              "pkg-config sentencepiece --libs", shell=True
          )
          return True
      except subprocess.CalledProcessError:
          return False
  
file_path: sentencepiece/python/setup.py
imports: import codecs
  import os
  import string
  import subprocess
  import sys
  from setuptools import Extension, setup
  from setuptools.command.build_ext import build_ext
  from setuptools.command.build_py import build_py
label_desc: Use image node_id 3 for calling a global function with example usage: is_sentencepiece_installed() and returns: True, False