/Engine/Source/Editor/UnrealEd/Public/LevelEditorViewport.h
Returns whether the provided unlocalized sprite category is visible in the viewport or not
true if the specified category is visible in the viewport; false if it is not
bool GetSpriteCategoryVisibility ( const [FName](API\Runtime\Core\UObject\FName) & InSpriteCategory ) const