In tools that operate on symbol graph files it can sometimes be useful to know if a given synthesized symbol is synthesized or not.
For Swift symbols one can check if the symbol's unique identifier contains "::SYNTHESIZED::" but this is relying on an implementation detail and isn't applicable to symbols in other source languages.