i apologise for the longevity of this question
I want to write a piece of code which essentially checks if the str name of an input has already been added within a tx