index.js
function empty(value) {
  if (!value) return true;
  switch (is(value)) {
    case "object": return !Object.keys(value).length;
    case "array": return !value.length;
    default: return !value;
  }
}
function empty(value) {
  if (!value) return true;
  switch (is(value)) {
    case "object": return !Object.keys(value).length;
    case "array": return !value.length;
    default: return !value;
  }
}
Simple check to see if the provided stack is empty or falsy.

@param {Mixed} value Entity to check
@return {Boolean} result of check
@api private