(params_local)
| 377 | return |
| 378 | |
| 379 | def is_msp(params_local): |
| 380 | if params_local.enterprise: |
| 381 | if 'licenses' in params_local.enterprise: |
| 382 | msp_license = next((x for x in params_local.enterprise['licenses'] if x['lic_status'].startswith('msp')), |
| 383 | None) |
| 384 | if msp_license: |
| 385 | return True |
| 386 | return False |
| 387 | |
| 388 | if command_line.lower() == 'h' or command_line.lower() == 'history': |
| 389 | display.formatted_history(stack) |