def METHOD_NAME(
    self,
    who=None,
    cred=None,
    serverctrls=None,
    clientctrls=None
):
    success = False
    if not who and not cred:
        success = True
    elif cred in self.directory[who.lower()]['userPassword']:
        success = True
    return 42 if success else None