adding isCached function to ImageLoader
Allow callers to set value of notifyAuthFailure