No, `empty` should be enough:
http://php.net/empty
Did you get a warning?