code: def is_executable_in_path(name):
      """Check if executable is in OS path."""
      from shutil import which
  
      return which(name) is not None
  
imports: import os
  import platform
  import re
  import sys
label_desc: Use image node_id 3 for calling a global function with example usage: is_executable_in_path(name) and returns: unknown