code: def _is_pip_installed():
      try:
          import pip  # NOQA
  
          return True
      except ImportError:
          return False
  
file_path: chainer/tests/conftest.py
imports: import os
  import subprocess
  import sys
  from chainer import testing
  from chainer.testing import parameterized
label_desc: Use image node_id 1 for calling a global function with example usage: _is_pip_installed() and returns: True, False