rename is_valid_... functions to validate_...