use isset instead of is_null

I replaced a check for `!is_null(x) and isset(y)` to simply `isset(x, y)` since these are logically equivalent.

Edit: whoo I did it! Took me like 15 minutes to figure out how to submit this with [hub](https://github.com/github/hub)