Check delegate for null