If you would like to check if the prototype for an object solely comes from Object. Filters out String, Number, Array, Arguments, etc.
function isObject(n) {
if (n == null) return false;
return Object.prototype.toString.call(n) === '[object Object]';
}