public static ParenthesizedCondition getInstance(Condition condition) {
        return condition instanceof ParenthesizedCondition ? (ParenthesizedCondition) condition
                : new ParenthesizedCondition(condition);
    }
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