Check if intent is null.