def closeEnough(tolerance, length, string):
    """
    tolerance: the tolerance of the string length
    length: the target length
    string: the string to evaluate
    """
    if(abs(len(string) - length) <= tolerance):
        return True
    else:
        return False