Why not just have a single `validate_password()` function that checks everything?