simplify checks for isset