FKismetCompilerUtilities::CheckFunctionThreadSafety

Check the passed-in function to verify its thread safety. This makes sure that it only uses/calls thread-safe functions/nodes.