code: public final boolean isPropertyTypeDeclared(String propertyName) {
      StaticTypedSlot slot = getSlot(propertyName);
      return slot == null ? false : !slot.isTypeInferred();
    }
docs: Checks whether the property's type is declared.