MCPcopy Create free account
hub / github.com/Keeper-Security/Commander / is_msp

Function is_msp

keepercommander/cli.py:379–386  ·  view source on GitHub ↗
(params_local)

Source from the content-addressed store, hash-verified

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)

Callers 1

do_commandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected