You could just make these `!empty()` which makes isset() redundant.