<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def delete_index(self):
 """ Delete the index, if it exists. """

        es = self._init_connection()
        if es.indices.exists(index=self.index):
            es.indices.delete(index=self.index)