Can thread-safety of a function be checked

Hi,

Is there a way that I can check if a function is thread safe regarding creating UObjects ?
E.g : creating blueprints crashes in a thread due to the following assertion failing
check(IsInGameThread() || HasAnyFlags(RF_ClassDefaultObject|RF_ArchetypeObject) || IsPostLoadThreadSafe() || IsA(UClass::StaticClass()))

But I was wondering to know if there’s a way to see if a function is creating blueprints or not. Or if be executed on a thread will cause crash or not. because the assertion cannot be disabled