Reference.isValid

bool isValid() const

Checks if the reference is valid.

Returns

true if the reference is valid, false otherwise