

def LocalDiskIsSSD(machine_type):
    'Check whether the local disk is an SSD drive.'
    return any((machine_type.startswith(prefix) for prefix in LOCAL_SSD_PREFIXES))

dataset/ETHPy150Open GoogleCloudPlatform/PerfKitBenchmarker/perfkitbenchmarker/providers/azure/azure_disk.py LocalDiskIsSSD/original