code: protected boolean doesEndingTimeAllowServiceAccess() {
          if (this.endingDateTime != null) {
              val et = DateTimeUtils.zonedDateTimeOf(this.endingDateTime);
              if (et != null) {
                  val now = ZonedDateTime.now(ZoneOffset.UTC);
                  if (now.isAfter(et)) {
                      LOGGER.warn("Service access not allowed because it ended at [{}]. Now is [{}]", this.endingDateTime, now);
                      return false;
                  }
              } else {
                  val etLocal = DateTimeUtils.localDateTimeOf(this.endingDateTime);
                  if (etLocal != null) {
                      val now = LocalDateTime.now(ZoneOffset.UTC);
                      if (now.isAfter(etLocal)) {
                          LOGGER.warn("Service access not allowed because it ended at [{}]. Now is [{}]", this.endingDateTime, now);
                          return false;
                      }
                  }
              }
          }
          return true;
      }
docs: Does ending time allow service access boolean.
  
  @return true/false