Proper check for a global