Attribute.isValid

bool isValid() const @nogc nothrow @safe

Checks if the attribute handle is valid.

Returns

true if the attribute is open and valid, false otherwise