lv_cache_is_enabled() function
Return true if the cache is enabled. Disabled cache means that when the max_size of the cache is 0. In this case, all cache operations will be no-op.
Arguments
cache
The cache object pointer to check if it's disabled.
Return value
Returns true if the cache is enabled, false otherwise.