/Engine/Source/Runtime/Engine/Classes/Engine/EngineTypes.h
Check if any of the given shading models are present.
bool HasAnyShadingModel ( const [TArray](API\Runtime\Core\Containers\TArray)< EMaterialShadingModel > & InShadingModels ) const