Added check functions to the cache

Added additional Check Functions to the cache so code can be written to throw less warnings