concepts.pdsketch.regression_utils.has_optimistic_constant_expression#

has_optimistic_constant_expression(*expressions)[source]#

Check if there is a ConstantExpression whose value is an optimistic constant. Useful when checking if the subgoal is fully “grounded.”

Parameters:

expressions (ValueOutputExpression | RegressionRuleApplier)