code: def verifyFormatterVersion(self):
      try:
          versionOutput = subprocess.check_output(
              [self.command, "--version"]
          ).rstrip("\r\n")
          if self.expectedVersion != "":
              if versionOutput.startswith(self.expectedVersion):
                  print("[OK] Found formatter '" + versionOutput + "'")
                  return
              else:
                  cprint(
                      "[NOT OK] Found '" + versionOutput + "'", "red"
                  )
                  cprint(
                      "[NOT OK] Version string does not start with '"
                      + self.expectedVersion
                      + "'",
                      "red",
                  )
          else:
              return
      except:
          cprint("[ERROR] Could not run " + self.command, "red")
          cprint(
              "[INFO] Please check if correct version is installed or install with '"
              + self.installCommand
              + "'",
              "blue",
          )
      sys.exit(1)
  
imports: import argparse
  import filecmp
  import os
  import re
  import sets
  import subprocess
  import sys
  from termcolor import cprint
label_desc: Use image node_id 2 for calling the CodeFormatter obj's underlying member method code with example usage: obj.verifyFormatterVersion() without return types