isDOMElement = function (object) {
  if (typeof HTMLElement === 'object') {
    return object instanceof HTMLElement;
  } else {
    return object &&
      typeof object === 'object' &&
      object.nodeType === 1 &&
      typeof object.nodeName === 'string';
  }
}
Echos the value of a value. Trys to print the value out
in the best way possible given the different types.

@param {Object} obj The object to print out.
@param {Boolean} showHidden Flag that shows hidden (not enumerable)
   properties of objects.
@param {Number} depth Depth in which to descend in object. Default is 2.
@param {Boolean} colors Flag to turn on ANSI escape codes to color the
   output. Default is false (no coloring).
@namespace Utils
@name inspect