code: def cmd_exists(cmd):
      """Returns True if a binary exists on
      the system path"""
      return shutil.which(cmd) is not None
  
imports: import shutil
  import pytest
  import pennylane
label_desc: Use image node_id 1 for calling a global function with example usage: cmd_exists(cmd) and returns: unknown