isEmptyObject, diffObjects