Checking not empty string

I have a string s

Are the following equivalent?

if ( ! s.empty() ) {
}
if ( s ) {
}

I don't think so. "s" is a String object and not a Boolean. You would get a compilation error if you were to try the latter option.
if ( ! s.empty() ) ==> Checks if the string object does not have any string held in the buffer which it points to.
if ( s ) ==> Checks if s is null or not.