It's my personal preference to let PHP evaluate the array as a boolean, but I'm happy to change it as the result is the same!