corrected Task#is* methods so they always return boolean type