Whether box should be rasterized by this rasterizer.
box
The result is cached per runtime type, so this must depend only on the type of box, not on its state.
bool matches(RenderBox box) => box is T;