I have application that uses fabric-sdk-java to join new peers to the existing fabric network. When joining peer I want to install chaincode on the peer and instantiate it (in case it had not been instantiated on the channel).
Is there any way to check using sdk if a specific chaincode is instantiated on the channel?