@Override
        public boolean matches(DescribeClusterResult result) {
            JsonNode queryNode = ObjectMapperSingleton.getObjectMapper().valueToTree(result);
            JsonNode finalResult = ast.accept(new JmesPathEvaluationVisitor(), queryNode);
            return AcceptorPathMatcher.path(expectedResult, finalResult);
        }
Takes the result and determines whether the state of the resource matches the expected state. To determine
the current state of the resource, JmesPath expression is evaluated and compared against the expected result.

@param result
       Corresponding result of the operation
@return True if current state of the resource matches the expected state, False otherwise
aws-java-sdk-eks/src/main/java/com/amazonaws/services/eks/waiters/ClusterActive.java