More idiomatic: if defined($user_pass);