/Engine/Source/Runtime/Core/Public/Internationalization/Text.h
If you actually want to perform a full lexical comparison, then you need to use EqualTo instead.
bool IdenticalTo ( const [FText](API\Runtime\Core\Internationalization\FText) & Other, const ETextIdenticalModeFlags CompareModeFlags ) const