code: def _format_bool(self, x):
      if 5 > self._default_cell_size:
          if x == True:
              x_ = "T"
          elif x == False:
              x_ = "F"
      else:
          x_ = str(x)
      s = "{x:<{s}}".format(
          x=x_,
          s=self._default_cell_size,
      )
      return s
  
imports: from __future__ import print_function
  import os
  import json
  import warnings
  from pathlib import Path
  from .observer import _Tracker
  from .event import Events
  from .util import Colours
label_desc: Use image node_id 6 for calling the ScreenLogger obj's underlying member method code with example usage: obj._format_bool(x) and returns: s