class_docstr: Base nipype config class
class_docstr_tok: ["Base","nipype","config","class"]
docstr: Check if resource_monitor is available
docstr_tok: ["Check","if","resource_monitor","is","available"]
code: def resource_monitor(self):
      """Check if resource_monitor is available"""
      if self._resource_monitor is not None:
          return self._resource_monitor
  
      # Cache config from nipype config
      self.resource_monitor = (
          str2bool(self._config.get("monitoring", "enabled")) or False
      )
      return self._resource_monitor
  
imports: import os
  import sys
  import errno
  import atexit
  from warnings import warn
  from looseversion import LooseVersion
  import configparser
  import numpy
  from simplejson import load, dump
  from .misc import str2bool
  from filelock import SoftFileLock
label_desc: Use image node_id 16 for calling the NipypeConfig obj's underlying member method code with example usage: obj.resource_monitor() and returns: self, self