code: public WaiterState accepts(Output response) {
          for (WaiterAcceptor<Output> acceptor : acceptors) {
              if (acceptor.matches(response)) {
                  return acceptor.getState();
              }
          }
          return WaiterState.RETRY;
  
      }
docs: Compares the response against each response acceptor and returns
  the state of the acceptor it matches on. If none is matched, returns
  retry state by default
  
  @param response Response object got by executing the specified
  waiter operation
  @return (Enum) Corresponding waiter state defined by the acceptor or
  retry state if none matched