@Override
    String asSubstituted(SubstitutionContext context) {
        return "(" + condition.asSubstituted(context) + ")";
    }
Returns a parenthesized condition for the given condition if the given
condition is not already a parenthesized condition; or the original
condition otherwise.
aws-java-sdk-dynamodb/src/main/java/com/amazonaws/services/dynamodbv2/xspec/ParenthesizedCondition.java