function isEmpty2(thing) {
  return !thing || thing.length < 1 || !Object.keys(thing).length;
}
Return true if an array is empty and false otherwise
Check for objects keys as well
@param {array|string|object} thing
@example
     isEmpty() // => true
     isEmpty([]) // => true
     isEmpty({}) // => true
     isEmpty('') // => true
     isEmpty([8, 9, 6]) // => false
     isEmpty('text') // => false
     isEmpty({a: 1}) // => false