Check if a section exists. Args: section: Section name to check Returns: True if section exists, False otherwise
(self, section: str)
| 1050 | ] |
| 1051 | |
| 1052 | def has_section(self, section: str) -> bool: |
| 1053 | """ |
| 1054 | Check if a section exists. |
| 1055 | |
| 1056 | Args: |
| 1057 | section: Section name to check |
| 1058 | |
| 1059 | Returns: |
| 1060 | True if section exists, False otherwise |
| 1061 | """ |
| 1062 | return self.config.has_section(section) |
| 1063 | |
| 1064 | def has_option(self, section: str, option: str) -> bool: |
| 1065 | """ |
no outgoing calls
no test coverage detected