<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_answers(self):
 """ Get answers either from inner_hits already present or by searching elasticsearch. """

        if 'inner_hits' in self.meta and 'answer' in self.meta.inner_hits:
            return self.meta.inner_hits.answer.hits
        return list(self.search_answers())