'Check licensing status
:return: package (key) and licensing status (value)
:rtype: dict'

def get_licensing_status(self):

    license_status = netapp_utils.zapi.NaElement('license-v2-status-list-info')
    result = None
    try:
        result = self.server.invoke_successfully(license_status, enable_tunneling=False)
    except netapp_utils.zapi.NaApiError as e:
        self.module.fail_json(msg=('Error    checking    license    status:    %s' % to_native(e)), exception=traceback.format_exc())
    return_dictionary = {}
    license_v2_status = result.get_child_by_name('license-v2-status')
    if license_v2_status:
        for license_v2_status_info in license_v2_status.get_children():
            package = license_v2_status_info.get_child_content('package')
            status = license_v2_status_info.get_child_content('method')
            return_dictionary[package] = status
    return return_dictionary
