TStringList.ContainsObject is needed to be like Delphi
- ContainsObject: Checks whether a specified object reference exists in the Objects[] array of the string list.
it is missed, but newer Delphi has it:
https://docwiki.embarcadero.com/Libraries/Florence/en/System.Classes.TStringList_Methods