code: def _get_ya_path():
      ya_path = os.path.join(_get_arcadia_root(), "ya")
      assert os.path.isfile(ya_path), "no `ya` in arcadia root"
      assert os.access(ya_path, os.X_OK), "`ya` must be executable"
      return ya_path
  
imports: from __future__ import absolute_import, print_function
  import argparse
  import errno
  import os
  import platform
  import re
  import shutil
  import subprocess
  import sys
  import zipfile
label_desc: Use image node_id 5 for calling a global function with example usage: _get_ya_path() and returns: ya_path