added exists method for cache widgets