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

Function is_msp

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

Source from the content-addressed store, hash-verified

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)

Callers 1

do_commandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected