public boolean attemptExecution() {
    if (result.isDone()) {
      return true;
    }
    final Optional<EthPeer> maybePeer = getPeerToUse();
    if (maybePeer.isEmpty()) {
      // No peers have the required height.
      result.completeExceptionally(new NoAvailablePeersException());
      return true;
    } else {
      // At least one peer has the required height, but we are not able to use it if it's busy
      final Optional<EthPeer> maybePeerWithCapacity =
          maybePeer.filter(EthPeer::hasAvailableRequestCapacity);

      maybePeerWithCapacity.ifPresent(this::sendRequest);
      return maybePeerWithCapacity.isPresent();
    }
  }
Attempts to find an available peer and execute the peer request.

@return true if the request should be removed from the pending list, otherwise false.
ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/manager/PendingPeerRequest.java