Check if parameter already exists

I wanna check if a parameter I am creating with Parameter.CreateSharedParameter already exists.

Right now I do like this
crossreferencing two lists and testing for equality. It is extremely slow however. is there a more efficient/elegant way to do it?
createSharedParametersFromExcelSheet_V067checkIfExists.dyn (46.1 KB)


Maybe try the List.Contains node and set the item input at level 1 (@L1).