Now Patterns are objects and understand is_constant.