Simplify KEYS? and EMPTY?