Function BasicString.valid

Return true if string is valid utf string.

bool valid() const pure nothrow @nogc @property scope @safe;