IsSpecialCodeValidFor
function IsSpecialCodeValid (const Key : TKey; const Code : TCode; const Value: LongInt) : Boolean;
IsSpecialCodeValidFor returns true if Code is a valid special code and the Value matches, otherwise false.
Key must be the same key that was used to create the code or the code is considered invalid.
This routine is defined in the OgUtil unit.
Added in version 1.15.