public boolean isCached(RepositoryProxyCache proxyCache){
  File cacheFile=buildFile(proxyCache.getCacheDir(),proxyCache.getFileName(),DEFAULT_FILE_NAME);
  return isCached(cacheFile);
}

public boolean isCached ( RepositoryProxyCache proxyCache ) { File cacheFile = buildFile ( proxyCache . getCacheDir ( ) , proxyCache . getFileName ( ) , DEFAULT_FILE_NAME ) ; return isCached ( cacheFile ) ; }
checks whether the method is cached .
