support IsOptimization