code: public boolean isSamePath(DataDescriptor other) {
          if (other == null)
              return false;
          if (type == TYPE_INVALID || other.getType() == TYPE_INVALID)
              return false;
          if (type != other.getType())
              return false;
          if (dataPath == null || other.getPath() == null)
              return false;
  
          String[] otherPath = other.getPath();
          if (dataPath.length != otherPath.length)
              return false;
          for (int i = 0; i < dataPath.length; i++) {
              if (!dataPath[i].equals(otherPath[i]))
                  return false;
          }
          return true;
      }
docs: Returns true if this descriptor has same path
  same type, same moduleName, instanceName, and dataId as the other DataDescriptor.