def almost_equal(s1, s2, eps=1e-5):
    """
    >>> a = (LatLon(55.77286, 37.8976), LatLon(55.77291, 37.89766))
    >>> b = (LatLon(55.77286, 37.89761), LatLon(55.77291, 37.89767))
    >>> almost_equal(a, b)
    True
    >>> a = (LatLon(55.89259, 37.72521), LatLon(55.89269, 37.72535))
    >>> b = (LatLon(55.89259, 37.72522), LatLon(55.8927, 37.72536))
    >>> almost_equal(a, b)
    True
    >>> a = (LatLon(55.89259, 37.72519), LatLon(55.89269, 37.72535))
    >>> b = (LatLon(55.89259, 37.72522), LatLon(55.8927, 37.72536))
    >>> almost_equal(a, b)
    False
    """
    eps *= 2
    return all(
        abs(p1.lat - p2.lat) <= eps and abs(p1.lon - p2.lon) <= eps
        for p1, p2 in zip(s1, s2)
    )