I'm pretty stupid on most things but to my eyes it doesn't look hard enough to be Yew. Cutting that out with a chisel would leave at least some surfaces like glass which I don't see in the picture and there's possibly evidence of worm attack. I don't know what it is but I don't think it's a very hard wood, not even a hardwood that's massively rotted.