UObjectBaseUtility::GetMaskedFlags

Returns object flags that are both in the mask and set on the object.