With the .has_mask() refactoring, this sort of logic looks nice from the client side, but this implementation looks the same.