/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)
bool HasAnyCastFlag ( EClassCastFlags FlagToCheck ) const