(params_local)
| 259 | return |
| 260 | |
| 261 | def is_msp(params_local): |
| 262 | if params_local.enterprise: |
| 263 | if 'licenses' in params_local.enterprise: |
| 264 | msp_license = next((x for x in params_local.enterprise['licenses'] if x['lic_status'].startswith('msp')), |
| 265 | None) |
| 266 | if msp_license: |
| 267 | return True |
| 268 | return False |
| 269 | |
| 270 | if command_line.lower() == 'h' or command_line.lower() == 'history': |
| 271 | display.formatted_history(stack) |