code: def assert_python_ok(*args, **env_vars):
      """
      Assert that running the interpreter with `args` and optional environment
      variables `env_vars` succeeds (rc == 0) and return a (return code, stdout,
      stderr) tuple.
  
      If the __cleanenv keyword is set, env_vars is used as a fresh environment.
  
      Python is started in isolated mode (command line option -I),
      except if the __isolated keyword is set to False.
      """
      return _assert_python(True, *args, **env_vars)
  
imports: import collections
  import importlib
  import sys
  import os
  import os.path
  import subprocess
  import py_compile
  from importlib.util import source_from_cache
  from test import support
  from test.support.import_helper import make_legacy_pyc
label_desc: Use image node_id 4 for calling a global function with example usage: assert_python_ok() and returns: _assert_python