I am working on AEM 6.4 where we need to validate if dynamic media is enabled and do further operations on that.
In previous versions, we use to find it via
this.enabledDynamicMedia = DynamicMediaHelper.isDynamicMediaEnabled(getResource().getResourceResolver();
but in the latest release "isDynamicMediaEnabled" is Deprecated and it is suggested to Use isEnabled() method provided by ImageDelivery service instead
however, I am not able to find the maven dependency for the same to include in the project.
any hint will be appreciated.