In the previous example, you did a hasOwnProperty check. Now it's a simple truthy check (I'm fine with that btw).