Using boolean valueOf, instead of .equals