export function isNonEmptyObject( object: Record | undefined | null, ): object is Record { return object != null && Object.keys(object).length > 0; }