def get_expire(name):
    policies = _get_account_policy(name)

    if 'hardExpireDateGMT' in policies:
        return policies['hardExpireDateGMT']

    return 'Value not set'
Test getting the info about the current license key
dataset/ETHPy150Open saltstack/salt/salt/modules/mac_shadow.py/get_expire--crossover with--dataset/ETHPy150Open saltstack/salt/tests/unit/modules/win_license_test.py/LicenseTestCase.test_info