Checking if topic is null