_/Chapter_10/ImagesInc/js/Modules/MochaTester/StorageHandler.js
// check to see if the key already exits in the database
check to see if the key already exits in the database
check to see if the key already exits in the database
function checkLocalStorageForkey(key) {
        if (!key) {
            return false;
        }
        var value = localStorage[key];
        if (value) {
            return true;
        } else {
            return false;
        }
    }
function checkLocalStorageForkey ( key ) { if ( ! key ) { return false ; } var value = localStorage [ key ] ; if ( value ) { return true ; } else { return false ; } }
check to see if the key already exits in the database
check to see if the key already exits in the database
// if the tile objects are not in the local storage, then return false