Mask.isValid

bool isValid() @property const @safe @nogc nothrow

Returns true if the mask handle is valid.