Version 3.1.2
matplotlib

matplotlib.axis.XTick.get_contains

XTick.get_contains()

Return the custom contains function of the artist if set, or None.

See also

set_contains