<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_password(self, passwd, group):
 # This provides authentication via CADC. """check that the passwd provided matches the required password."""

        return gms.isMember(self.login, passwd, group)