Check on empty instead of isset