docs: @Override
      public boolean hasInstance(Scriptable value) {
          Scriptable proto = value.getPrototype();
          while (proto != null) {
              if (proto.equals(this))
                  return true;
              proto = proto.getPrototype();
          }
  
          return false;
      }