evaluateCustomCondition