<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_opt(self, opt):
 """Check if option is present in configuration file Parameters opt : string Name of option (e.g. output-file-format) """

        for sec in self.sections:
            val = self.cp.has_option(sec, opt)
            if val:
                return val

        return False