def optional(args, key):
    return key in args and args[key] or None
If the given key is in args, return the corresponding value, otherwise
dataset/ETHPy150Open nii-cloud/dodai-compute/plugins/xenserver/xenapi/etc/xapi.d/plugins/pluginlib_nova.py/optional