code: public static boolean wasMutationApplied(
        ConditionalRowMutation request,
        Boolean predicateMatched) {
  
  
      // TODO: ConditionalRowMutation should have methods to check if it has true/false mutations
      CheckAndMutateRowRequest proto =
          request.toProto(RequestContext.create("SomeProject", "Some Instance", ""));
      // If we have true mods, we want the predicate to have matched.
      // If we have false mods, we did not want the predicate to have matched.
      return (proto.getTrueMutationsCount() > 0  && predicateMatched)
          || (proto.getFalseMutationsCount() > 0 && !predicateMatched);
    }
docs: <p>wasMutationApplied.</p>
  
  @param request a {@link ConditionalRowMutation} object.
  @param predicateMatched a {@link Boolean} object.
  @return a boolean.