/Engine/Source/Runtime/CoreUObject/Public/UObject/Class.h
Used to safely check whether the passed in flag is set.
true if the passed in flag is set, false otherwise (including no flag passed in, unless the FlagsToCheck is CLASS_AllFlags)
bool HasAnyFunctionFlags ( EFunctionFlags FlagsToCheck ) const