code: static boolean isSymbol(Object obj) {
          return (((obj instanceof NativeSymbol) &&
                  ((NativeSymbol)obj).isSymbol())) || (obj instanceof SymbolKey);
      }
docs: Not all "NativeSymbol" instances are actually symbols. So account for that here rather than just
  by using an "instanceof" check.