1. Bad method name. I would call it "passwordsMatch"
2. In such cases use && (short-circuit) instead of &