code: def _running_under_pyodide():
      """Test if running under pyodide."""
      try:
          import pyodide_js  # type: ignore  # noqa
      except ImportError:
          return False
      else:
          return True
  
file_path: sympy/sympy/testing/pytest.py
imports: import sys
  import re
  import functools
  import os
  import contextlib
  import warnings
  import inspect
  import pathlib
  from typing import Any, Callable
  from sympy.utilities.exceptions import SymPyDeprecationWarning
  from sympy.utilities.exceptions import ignore_warnings
label_desc: Use image node_id 4 for calling a global function with example usage: _running_under_pyodide() and returns: True, False