While Ozzy Osbourne was working on new solo album material in 2006, Rhino Records released Black Sabbath: The Dio Years, a compilation of songs culled from the four Black Sabbath releases featuring Ronnie James Dio. For the release, Iommi, Butler, Dio and Appice reunited to write and record three new songs as Black Sabbath. The Dio Years was released on 3 April 2007, reaching number 54 on the Billboard 200, while the single "The Devil Cried" reached number 37 on the Mainstream Rock Tracks chart. Pleased with the results, Iommi and Dio decided to reunite the 1981 Mob Rules era line-up for a world tour. While the line-up of Osbourne, Butler, Iommi and Ward were still officially called Black Sabbath, the new line-up opted to call themselves Heaven & Hell, after the album of the same name, to avoid confusion. When asked about the name of the group, Iommi stated "it really is Black Sabbath, whatever we do... so everyone knows what they're getting [and] so people won't expect to hear 'Iron Man' and all those songs. We've done them for so many years, it's nice to do just all the stuff we did with Ronnie again." Ward was initially set to participate, but dropped out before the tour began due to musical differences with "a couple of the band members". He was replaced by former drummer Vinny Appice, effectively reuniting the line-up that had featured on the Mob Rules (1981) and Dehumanizer (1992) albums.  Heaven & Hell toured the U.S. with openers Megadeth and Machine Head, and recorded a live album and DVD in New York on 30 March 2007, titled Live from Radio City Music Hall. In November 2007, Dio confirmed that the band had plans to record a new studio album, which was recorded in the following year. In April 2008 the band announced the upcoming release of a new box set and their participation in the Metal Masters Tour, alongside Judas Priest, Motorhead and Testament. The box set, The Rules of Hell, featuring remastered versions of all the Dio fronted Black Sabbath albums, was supported by the Metal Masters Tour. In 2009, the band announced the name of their debut studio album, The Devil You Know, released on 28 April.  On 26 May 2009 Osbourne filed suit in a federal court in New York against Iommi alleging that he illegally claimed the band name. Iommi noted that he has been the only constant band member for its full 41-year career, and that his bandmates relinquished their rights to the name in the 1980s, therefore claiming more rights to the name of the band. Although, in the suit, Osbourne was seeking 50% ownership of the trademark, he said that he hoped the proceedings would lead to equal ownership among the four original members.  In March 2010, Black Sabbath announced that along with Metallica they would be releasing a limited edition single together to celebrate Record Store Day. It was released on 17 April 2010.  Ronnie James Dio died on 16 May 2010 from stomach cancer. In June 2010, the legal battle between Ozzy Osbourne and Tony Iommi over the trademarking of the Black Sabbath name ended, but the terms of the settlement have not been disclosed.

Answer this question "Was Black Sabbath: The Dio Years an album?" by extracting the answer from the text above.
a compilation of songs culled from the four Black Sabbath releases featuring Ronnie James Dio.