Check if consumer is null