Checking if var is empty instead of isset