def deviation_ok(norm, value, epsilon):
    """Check if a value's deviation from given norm stays under boundary"""
    deviation = abs(norm-value)/norm
    # print(abs(d-epsilon))
    return deviation <= epsilon