def safe_get(dct, *keys):
for key in keys:<EOL><INDENT>try:<EOL><INDENT>dct = dct[key]<EOL><DEDENT>except:<EOL><INDENT>return None<EOL><DEDENT><DEDENT>return dct<EOL>
Extract value from nested dictionary
    Args:
            dct (dict): dictionary one want to extrat value from
            *keys (string|list|tuple): keys to exatract value

    Returns:
            value