MCPcopy Create free account
hub / github.com/bleachbit/bleachbit / has_option

Method has_option

bleachbit/Options.py:252–254  ·  view source on GitHub ↗

Check if option is set

(self, option, section='bleachbit')

Source from the content-addressed store, hash-verified

250 self.set_language(lang_id, True)
251
252 def has_option(self, option, section='bleachbit'):
253 """Check if option is set"""
254 return self.config.has_option(section, option)
255
256 def has_override(self, option, section='bleachbit'):
257 """Check if option is overridden"""

Callers 15

on_showMethod · 0.45
get_active_language_codeFunction · 0.45
__init__Method · 0.45
getMethod · 0.45
get_languageMethod · 0.45
get_treeMethod · 0.45
is_corruptMethod · 0.45
restoreMethod · 0.45
setMethod · 0.45
set_languageMethod · 0.45
set_treeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected