What select non manifold is for exactly?
extend=True adds to the current selection, whereas extend=False replaces the selection.

Those use_xxx bools are different reasons why a part of the mesh can be non-manifold, and allow the user to select specific cases.