I'm interested in knowing whether any particular address is a contract address or a standard address. There have been similar questions on the topic, but I'm not looking to detect whether an address is valid as this is child's play.
I assume detecting a contract can be done, Etherscan does a good job at detecting addresses vs contracts.
Any ideas? Can this be done with web3?