I would like to check the code hash of an account from within my smart contract. Is this possible?
Update Actually, you don't have access to
account_object from the contract.
You can use
From cleos do:
cleos get code <accountName>
I have since learned that this isn't possible, and could only be done using an external oracle or other off-chain service. If this changes in the future I will update this answer.