Implemented empty? method