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

:param refresh: bool, returns up to date metadata if set to True
:return: dict