class_docstr: MLPerf logger indirection class.
  
  This logger only logs for MLPerf runs, and prevents various errors associated
  with not having the mlperf_compliance package installed.
code: def enabled(self):
      return self._enabled
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from collections import namedtuple
  import json
  import os
  import re
  import subprocess
  import sys
  import typing
  import tensorflow
label_desc: Use image node_id 6 for calling the Logger obj's underlying member method code with example usage: obj.enabled() and returns: self