Added isLying method and removed redundant list