<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def has_section(self, section) -> bool: """Test if file has section. Parameters section : string Section. Returns ------- boolean """

        self.config.read(self.filepath)
        return self.config.has_section(section)