smbd: Factor out a bool expr into a descriptive variable