TNotifyEvents.IsSameMethod

function IsSameMethod(const Event1, Event2: TNotifyEvent): Boolean;

Returns true if Event1 and Event2 refer to the same method of the same object.