public static Single < Boolean > isEmpty ( CacheConfigBean cacheConfigBean , String cacheKey ) { return length ( cacheConfigBean , cacheKey ) . map ( length -> length == 0 ) ; }
check whether the cached list is empty or not .