(p1, p2, actualp1, actualp2, divs)
return abs(p1 - actualp1) < (1 / (2*divs)) and abs(p2 - actualp2) < (1 / (2*divs))
Determines if a sequence position is the closest possible sequence position
        (for a given number of divisions) to an actual position (all as percents).
Determines if a sequence position is the closest possible sequence position
        (for a given number of divisions) to an actual position (all as percents).
Determines if a sequence position is the closest possible sequence position ( for a given number of divisions ) to an actual position ( all as percents ) .
def _closest(p1, p2, actualp1, actualp2, divs):
    """ Determines if a sequence position is the closest possible sequence position
        (for a given number of divisions) to an actual position (all as percents). """
    return abs(p1 - actualp1) < (1 / (2*divs)) and abs(p2 - actualp2) < (1 / (2*divs))
def _closest ( p1 , p2 , actualp1 , actualp2 , divs ) : return abs ( p1 - actualp1 ) < ( 1 / ( 2 * divs ) ) and abs ( p2 - actualp2 ) < ( 1 / ( 2 * divs ) )