Improved use of isset()