code: public final HasPropertyKind getOwnPropertyKind(String propertyName) {
      return getOwnSlot(propertyName) != null
          ? HasPropertyKind.KNOWN_PRESENT
          : HasPropertyKind.ABSENT;
    }
docs: Checks whether the property whose name is given is present directly on
  the object.  Returns false even if it is declared on a supertype.