export const isObjectEmpty = (obj: T) => { for (const x in obj) { return false; } return true; };