Check to see if an object is empty (has or does not have keys)