You can probably use `!empty` instead of `isset`.