function isValidDate(date) {
  return _.isDate(date) && !_.isNaN(date.getDate());
}
Returns true if the date is a valid date. False otherwise.
@param {Date|string} date - The date to check for validity.
@returns {boolean} - TRUE if the date is valid; FALSE otherwise.