Add Object.isEmpty method