def get(self, item, alt=None):
try:<EOL><INDENT>val = self[item]<EOL><DEDENT>except ValueError:<EOL><INDENT>return alt<EOL><DEDENT>return val if val is not None else alt<EOL>
Standard dict-like .get() method.

Args:
    item (str): See :meth:`.__getitem__` for details.
    alt (default None): Alternative value, if item is not found.

Returns:
    obj: `item` or `alt`, if item is not found.