 
 `import * as _ from "lodash"`
 `import * as _s from "underscore.string"`
+`import moment from "moment"`
 
 # Define here for reuse below.
 _sortValuesByKey = (obj) ->

   *   is finite.
   * * If the value is an array or object, then return
   *   whether the value has an indexed item with content.
   * * Otherwise, return whether the value is not undefined
   *   or null.
   *
   * This method recurses into children to determine whether
   * the children have content.
   *
   * Examples:
   *     ObjectHelper.hasContent(null) // => false
   *     ObjectHelper.hasContent(NaN) // => true
   *     ObjectHelper.hasContent(null) // => false
   *     ObjectHelper.hasContent(null) // => false
   *
   * @method hasContent
   * @param value {any} the value to check
   * @return {boolean} whether the value has content
  ###
  hasValidContent: _hasValidContent

  ###*
   * Pretty prints the given object in a readable format. This function

  else
    true

_isDate = (value) ->
  moment.isDate(value) or moment.isMoment(value)

_isAtomic = (value) ->
  _.isNil(value) or _.isString(value) or
  _.isNumber(value) or _.isBoolean(value) or _isDate(value)

_isSimple = (value) ->
  _isAtomic(value) or _isSimpleArray(value)

_isSimpleArray = (value) ->
  _.isArray(value) and _.every(value, _isSimple)


###*
 * The static ObjectHelper utility.
 *
