code: def full_where_is(binary: str) -> bool:
      try:
          powershell_cmd = f"where.exe /R C:\ *.exe | findstr \\{binary}$"  # noqa: W605
          cmds = ["powershell.exe", "-Command", powershell_cmd]
          output = subprocess.run(
              cmds, capture_output=True, cwd="C:\\"
          )  # nosec
          out = str(output.stdout.decode("utf-8")).split("\r\n")
          if binary in out[0]:
              return True
      except Exception as e:
          print("error", e)
          pass
      return False
  
file_path: PySyft/packages/hagrid/hagrid/win_bootstrap.py
imports: import subprocess
  from typing import Callable
  from typing import List
label_desc: Use image node_id 4 for calling a global function with example usage: full_where_is(binary) and returns: False, True