def delete_association(self, association=''):
        """
        Delete an association between two IonObjects
        @param association  Association object, association id or 3-list of [subject, predicate, object]
        """
        if type(association) in (list, tuple) and len(association) == 3:
            subject, predicate, obj = association
            assoc_id_list = self.find_associations(subject=subject, predicate=predicate, object=obj, id_only=True)
            success = True
            for aid in assoc_id_list:
                success = success and self.rr_store.delete(aid, object_type="Association")
            return success
        else:
            return self.rr_store.delete(association, object_type="Association")
dataset/ETHPy150Open ooici/pyon/pyon/ion/resregistry.py/ResourceRegistry.delete_association/original