def __getitem__(self, key):
if self._cached_dict is None:<EOL><INDENT>self._evaluate_function()<EOL><DEDENT>return self._cached_dict.__getitem__(key)<EOL>
Return item from cache if it exists else create it.