Should be 

    bool hasQuote() const                           { return (quote == NULL) || (*quote != '\0'); }