parameters: (self, section, option)
docstring: Check for the existence of a given option in a given section.
docstring_summary: Check for the existence of a given option in a given section.
docstring_tokens: Check for the existence of a given option in a given section .
function: def has_option(self, section, option):
          """Check for the existence of a given option in a given section."""
          if not section or section == DEFAULTSECT:
              option = self.optionxform(option)
              return option in self._defaults
          elif section not in self._sections:
              return False
          else:
              option = self.optionxform(option)
              return (option in self._sections[section]
                      or option in self._defaults)
function_tokens: def has_option ( self , section , option ) : if not section or section == DEFAULTSECT : option = self . optionxform ( option ) return option in self . _defaults elif section not in self . _sections : return False else : option = self . optionxform ( option ) return ( option in self . _sections [ section ] or option in self . _defaults )