It's "if.. else" and "greater" and such nodes in value and pixel processors. You set a simple logic if "if" input has greater than 0 then "else" input is passing through. But in many cases just having zero (black) empty input is enough by itself. if add math is used further for example.
yeah, checkin for black especially with min/max approach could be not working if you use negative pixel values in 32 bit calculations . For heigh combine for example. I once used an approach when I put transform node with manual mip level set to 10. It's a kind of quick blur my guess and a value processor after that . it…