eieio-slot-originating-class-p

eieio-slot-originating-class-p is a compiled Lisp function in `eieio-core.el'.

(eieio-slot-originating-class-p START-CLASS SLOT)

Return non-nil if START-CLASS is the first class to define SLOT.
This is for testing if the class currently in scope is the class that defines SLOT
so that we can protect private slots.