code: public synchronized boolean has(int index, Scriptable start) {
          Integer key = new Integer(index);
          return indexedProps.containsKey(key);
      }
docs: Returns true if the property index is defined.
  
  @param index the numeric index for the property
  @param start the object in which the lookup began
  @return true if and only if the property was found in the object