includes

includes(value: MemberType): Boolean;

The includes method of the ExternalSet class returns true if the virtual external collection or result set contains the object specified in the value parameter.

This method results in a key-equal query, based on the attributes that comprise the primary keys of the proxy class.