@Override
    public boolean isExpired(final Date date) {
        Args.notNull(date, "Date");
        return (cookieExpiryDate != null
            && cookieExpiryDate.getTime() <= date.getTime());
    }
Returns true if this cookie has expired.
@param date Current time

@return {@code true} if the cookie has expired.
ngrinder-runtime/src/main/java/org/apache/hc/client5/http/impl/cookie/BasicClientCookie.java