lv_cache_evict_one() function
Evict one entry from the cache. The eviction policy will be used to select the entry to evict.
Arguments
cache
The cache object pointer to evict an entry.
user_data
A user data pointer that will be passed to the free callback.
Return value
Returns true if an entry is evicted, false if no entry is evicted.