<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def detach_model(vmssvm_model, lun):
    '''Detach a data disk from a VMSS VM model'''
    data_disks = vmssvm_model['properties']['storageProfile']['dataDisks']
    data_disks[:] = [disk for disk in data_disks if disk.get('lun') != lun]
    vmssvm_model['properties']['storageProfile']['dataDisks'] = data_disks
    return vmssvm_model