(or replaced this with `if constraint_dict` and got rid of the variable entirely