a highly limited DictLookup function