The node you are looking for is at
compositor_stencil_comp_func
.