check method

bool check()

Check the referenced object that this DSX instance still exists.

Implementation

bool check() {
  var objSrc = _dsxToObjectSource[this];
  var obj = _dsxToObject[this];

  if (objSrc == null && obj == null) {
    dispose();
    return false;
  }

  return true;
}