Question: is dobby in the half blood prince?
Answer: During Half-Blood Prince Harry has Dobby (and Kreacher) follow Malfoy to try to determine what Malfoy is up to. ... He informs Harry that Malfoy has been going to the Room of Requirement but is unable to give him more information about what the Room is becoming for him.