This is the correct way to check for none