def _get_instance_state(self):
instance = self._get_instance()<EOL>statuses = instance.instance_view.statuses<EOL>for status in statuses:<EOL><INDENT>if status.code.startswith('<STR_LIT>'):<EOL><INDENT>return status.display_status<EOL><DEDENT><DEDENT>
Retrieve state of instance.