previously we had a checking style function that passes in an optional defaulting to nullopt as a micro optimzation, this makes the code unnessarily obtuse.
simplify this by splitting up into 2 functions,
one for getting the unique endpoints and one for checking if the number of them is above the minimum.
previously we had a checking style function that passes in an optional defaulting to nullopt as a micro optimzation, this makes the code unnessarily obtuse.
simplify this by splitting up into 2 functions, one for getting the unique endpoints and one for checking if the number of them is above the minimum.