includes

includes(value: MemberType): Boolean;

The includes method of the ExternalCollection class returns true if the virtual 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 in the proxy.