r4265 considerGivenConstraint(): new helper function for a better RackCode API