()
return _DEBUG_MODE_ENABLED
Returns a boolean that indicates whether PyMJCF debug mode is enabled.
Returns a boolean that indicates whether PyMJCF debug mode is enabled.
Returns a boolean that indicates whether PyMJCF debug mode is enabled .
def debug_mode():
  """Returns a boolean that indicates whether PyMJCF debug mode is enabled."""
  global _DEBUG_MODE_ENABLED
  if _DEBUG_MODE_ENABLED is None:
    if FLAGS.is_parsed():
      _DEBUG_MODE_ENABLED = FLAGS.pymjcf_debug
    else:
      _DEBUG_MODE_ENABLED = FLAGS['pymjcf_debug'].default
  return _DEBUG_MODE_ENABLED
def debug_mode ( ) : global _DEBUG_MODE_ENABLED if _DEBUG_MODE_ENABLED is None : if FLAGS . is_parsed ( ) : _DEBUG_MODE_ENABLED = FLAGS . pymjcf_debug else : _DEBUG_MODE_ENABLED = FLAGS [ 'pymjcf_debug' ] . default return _DEBUG_MODE_ENABLED