audit.js
function checkProperties(obj) {
        for (var key in obj) {
                if (obj[key] !== null && obj[key] != "")
                        return false;
        }
        return true;
}
function checkProperties(obj) {
        for (var key in obj) {
                if (obj[key] !== null && obj[key] != "")
                        return false;
        }
        return true;
}
function checkProperties ( obj ) { for ( var key in obj ) { if ( obj [ key ] !== null && obj [ key ] != "" ) return false ; } return true ; }
Check if all properties of an object are null and return true if they are
Check if all properties of an object are null and return true if they are