protected final boolean hasReadyPendingRequest() {
    return peekReadyPendingRequest().isPresent();
  }
Checks if this allocator has a pending resource request with a request timestamp equal to or earlier than the current
timestamp.
@return {@code true} if there is a pending request, {@code false} otherwise.
samza-core/src/main/java/org/apache/samza/clustermanager/ContainerAllocator.java