code: def _run_command_and_check_content(
      self, command: str, content: str
  ) -> bool:
      proc = subprocess.Popen(
          command.split(),
          stdout=subprocess.PIPE,
          stderr=subprocess.PIPE,
      )
      stdout, stderr = proc.communicate()
      stdout = stdout.decode("utf-8")
      print(stdout)
      print(stderr)
      return content in stdout
  
imports: import inspect
  import os
  import shutil
  import subprocess
  import tempfile
  import unittest
  from pathlib import Path
  from onnxruntime import __version__
  from packaging.version import Version, parse
  import optimum.commands
label_desc: Use image node_id 7 for calling the TestCLI obj's underlying member method code with example usage: obj._run_command_and_check_content(command, content) and returns: unknown