added code hint for isPasswrod