<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_credentials(self, username, password):
 """ Override credential checking to use configured credentials. """

        return password is not None and self.credentials.get(username, None) == password