export const isObjectEmpty = (obj: Object) => { return obj && Object.keys(obj).length === 0 && obj.constructor === Object; };