<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def check_config_mode(self, check_string=")#", pattern=""):
 """Checks if the device is in configuration mode"""

        return super(CalixB6Base, self).check_config_mode(check_string=check_string)