Added methods to check cache existing