Yes, but not exactly true. Ethereum uses a digital contract called smart-contract. Hyperledger also uses a digital contract called Chaincode. Hyperledger does not use "Smart-contract" but it uses "chaincode". The most popular language used to write a Smart-contract is Solidity and for Chaincode is GO.