code: public boolean isExpired() {
          final var expiryDate = get(EXPIRATION_DATE).getDate();
          final var today = new Date();
          return today.getTime() > expiryDate.getTime();
      }
docs: Checks the expiration date of the license and returns {@code true} if the license has expired.
  <p>
  The expiration date is stored in the license feature {@code expiryDate}. A license is expired
  if the current date is after the specified {@code expiryDate}. At the given date (ms precision) the
  license is still valid.
  <p>
  The method does not check that the license is properly signed or not. That has to be checked using a
  separate call to the underlying license.
  
  @return {@code true} if the license has expired.