I think you answered your own problem.
But to be fair, it’s better that you call a function that is part of an interface BP, then you can loop through everything and check if they implement said function before calling.
So search for interface BP in documents and study it.