AddCustomTerminationCallback from vtkStreamTracer in Python

I was trying to see if the AddCustomTerminationCallback method could be used in Python, but it doesn’t seem to be exposed. Is there a way to access this functionality?

from vtkmodules.vtkFiltersFlowPaths import vtkStreamTracer
assert "AddCustomTerminationCallback" in dir(vtkStreamTracer())

This code raises an AssertionError.