Implement an optimized (20x) version of isEmptyObject()