class_docstr: Redact secrets from logs.
class_docstr_tok: ["Redact","secrets","from","logs","."]
docstr: Pulls the unit test mode flag from config.
  
  This lives in a function here to be cached and only hit the config once.
docstr_tok: ["Pulls","the","unit","test","mode","flag","from","config",".","This","lives","in","a","function","here","to","be","cached","and","only","hit","the","config","once","."]
code: def _test_mode(self) -> bool:
      """Pulls the unit test mode flag from config.
  
      This lives in a function here to be cached and only hit the config once.
      """
      from airflow.configuration import conf
  
      return conf.getboolean("core", "unit_test_mode")
  
imports: from __future__ import annotations
  import collections.abc
  import logging
  import sys
  from enum import Enum
  from functools import cached_property
  from typing import TYPE_CHECKING, Any, Callable, Dict, Generator, Iterable, Iterator, List, Pattern, TextIO, Tuple, TypeVar, Union
  import re2
  from airflow import settings
  from airflow.compat.functools import cache
label_desc: Use image node_id 9 for calling the SecretsMasker obj's underlying member method code with example usage: obj._test_mode() and returns: conf