class_docstr: A dict-like class that stores secrets.
  Parses secrets.toml on-demand. Cannot be externally mutated.
  
  Safe to use from multiple threads.
class_docstr_tok: ["A","dict-like","class","that","stores","secrets",".","Parses","secrets.toml","on-demand",".","Can","not","be","externally","mutated",".","Safe","to","use","from","multiple","threads","."]
docstr: Load secrets.toml files from disk if they exists. If none exist,
  no exception will be raised. (If a file exists but is malformed,
  an exception *will* be raised.)
  
  Returns True if a secrets.toml file was successfully parsed, False otherwise.
  
  Thread-safe.
docstr_tok: ["Load","secrets.toml","files","from","disk","if","they","exists",".","If","none","exist",",","no","exception","will","be","raised",".","(","If","a","file","exists","but","is","malformed",",","an","exception","*","will","*","be","raised",".",")","Returns","True","if","a","secrets.toml","file","was","successfully","parsed",",","False","otherwise",".","Thread-safe","."]
code: def load_if_toml_exists(self) -> bool:
      """Load secrets.toml files from disk if they exists. If none exist,
      no exception will be raised. (If a file exists but is malformed,
      an exception *will* be raised.)
  
      Returns True if a secrets.toml file was successfully parsed, False otherwise.
  
      Thread-safe.
      """
      try:
          self._parse(print_exceptions=False)
          return True
      except FileNotFoundError:
          # No secrets.toml files exist. That's fine.
          return False
  
imports: import os
  import threading
  from copy import deepcopy
  from typing import Any, Dict, ItemsView, Iterator, KeysView, List, Mapping, NoReturn, Optional, ValuesView
  import toml
  from blinker import Signal
  from typing_extensions import Final
  import streamlit
  import streamlit.watcher.path_watcher
  from streamlit import file_util, runtime
  from streamlit.logger import get_logger
label_desc: Use image node_id 2 for calling the Secrets obj's underlying member method code with example usage: obj.load_if_toml_exists() and returns: True, False