'How on solidity to check if token is simple token or LP token?

Is there a way to check if address is token address or LP (pair) token address?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source