If annotation doesnt exist, add it

def delete_annotation(
        self,
        term_ilx_id: str,
        annotation_type_ilx_id: str,
        annotation_value: str) -> dict:
        """ If annotation doesnt exist, add it
        """

        term_data = self.get_entity(term_ilx_id)
        if not term_data['id']:
            exit(
                'term_ilx_id: ' + term_ilx_id + ' does not exist'
            )
        anno_data = self.get_entity(annotation_type_ilx_id)
        if not anno_data['id']:
            exit(
                'annotation_type_ilx_id: ' + annotation_type_ilx_id +
                ' does not exist'
            )

        entity_annotations = self.get_annotation_via_tid(term_data['id'])
        annotation_id = ''

        for annotation in entity_annotations:
            if str(annotation['tid']) == str(term_data['id']):
                if str(annotation['annotation_tid']) == str(anno_data['id']):
                    if str(annotation['value']) == str(annotation_value):
                        annotation_id = annotation['id']
                        break
        if not annotation_id:
            print('''WARNING: Annotation you wanted to delete does not exist ''')
            return None

        url = self.base_url + 'term/edit-annotation/{annotation_id}'.format(
            annotation_id = annotation_id
        )

        data = {
            'tid': ' ', # for delete
            'annotation_tid': ' ', # for delete
            'value': ' ', # for delete
            'term_version': ' ',
            'annotation_term_version': ' ',
        }

        output = self.post(
            url = url,
            data = data,
        )

        # check output
        return output