docs: protected <T> boolean checkIfModified(CachedResource<T> cachedResource) {
          final Resource resource = cachedResource.getResource();
  
          // Check if the resource has been modified since it was last loaded.
          final long lastLoadTime = cachedResource.getLastLoadTime();
          final long mainLastModified = this.getLastModified(resource);
          boolean resourceModified = lastLoadTime < mainLastModified;
          if (resourceModified) {
              this.logger.trace(
                      "Resource {} was modified at {}, reloading",
                      new Object[] {resource, mainLastModified});
              return true;
          }
  
          // If the main resource hasn't changed check additional resources for modifications
          for (final Map.Entry<Resource, Long> additionalResourceEntry :
                  cachedResource.getAdditionalResources().entrySet()) {
              final Resource additionalResource = additionalResourceEntry.getKey();
              final Long resourceLastLoadTime = additionalResourceEntry.getValue();
  
              final long lastModified = this.getLastModified(additionalResource);
              if (resourceLastLoadTime < lastModified) {
                  this.logger.trace(
                          "Additional resource {} for {} was modified at {}, reloading",
                          new Object[] {additionalResource, resource, lastModified});
                  return true;
              }
          }
  
          this.logger.trace(
                  "{} has not been modified since last loaded {}, returning",
                  cachedResource,
                  lastLoadTime);
          return false;
      }