def section_exists(self, section_name):
        sec = None
        if section_name in self.sections:
            sec = self.sections[section_name]
        elif section_name in self.SECTION_STYLE.ALIASES:
            alias = self.SECTION_STYLE.resolve_alias(section_name)
            if alias in self.sections:
                sec = self.sections[alias]

        if sec is not None:
            return True
        return False
returns True iff section exists, and was finalized
dataset/ETHPy150Open KristoforMaynard/SublimeAutoDocstring/docstring_styles.py/Docstring.section_exists