def inspect(self, refresh=True):
<EOL>return self.get_metadata(refresh=refresh)<EOL>
return cached metadata by default (a convenience method)

:param refresh: bool, update the metadata with up to date content
:return: dict