" Input: {
(target) - target machine if needed (to correctly handle remote execution)
(host_os) - host OS (detect, if omitted)
(os) or (target_os) - OS module to check (if omitted, analyze host)
(device_id) - device id if remote (such as adb)
(key) - {'remote_init' or 'remote_deinit'}
}
Output: {
return - return code = 0, if successful
> 0, if error
(error) - error text if return > 0
}
"