No, the chemical composition of the material and the amount of material affects the amount of heat the material will hold. For example, it takes more heat to raise the temperature of water than it does to raise the temperature of a metal. It would take more heat to raise the temperature of water in a bathtub full of water compared to a cup of water.