`==` or do you really mean `===` ? :)

if `==` might as well use empty()