code: def sync_check_shell_output(
      script: str, echo=False
  ) -> Tuple[bytes, bytes]:
      return async_to_blocking(check_shell_output(script, echo))
  
file_path: hail/hail/python/hailtop/utils/process.py
imports: from typing import Tuple, List
  import asyncio
  import subprocess
  from .utils import async_to_blocking
label_desc: Use image node_id 1 for calling a global function with example usage: sync_check_shell_output(script, echo) and returns: async_to_blocking