Apply to Matte Ports on Input Effects

hello

could you explain those 2 parameters in the underlay layer properties ? the flatten and "apply to matte ports on input effects "
i don’t really understand in the toonboom’help .
is it possible to have another example than the one in the help, with drawing ?
thanks