Removed unnecessary code
Boolean methods