def is_encrypted(path):
    if path.startswith('/dev/mapper'):
        return path.rpartition('/')[2].endswith(_dmcrypt_suffix)
    else:
        return False
Return an iterator that anneals linearly to a point linearly.
dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/virt/libvirt/storage/dmcrypt.py/is_encrypted--crossover with--dataset/ETHPy150Open BRML/climin/climin/schedule.py/linear_annealing