How to use Delegate.Contains?

Hello all

I am working on a project using Delegates but I am still pretty new to c++ and have no experience using delegates in it. There is one part where I am checking to see if an object (and its function) are already apart of a delegates involved list to avoid errors from occurring if the same object is being added to the delegate.

The problem is that I can’t seem to figure out what needs to be put into the delegate.contains parameters. It appears to have the same parameters as the delegate.addDynamic macro, but the code does not compile when I do this. My best guess is that I somehow need to convert the function name to FName but I’m not sure on how to do this either. Any attempts to find either solution has come up empty. Can anyone here help?