def METHOD_NAME(self):
    cleaned_data = super(BulkAddSubmissionsSimilarityForm, self).METHOD_NAME()
    if 'similar_groups' in cleaned_data and cleaned_data.get(
        'find_transitive_closure'
    ):
        cleaned_data['similar_groups'] = find_closure(
            cleaned_data['similar_groups']
        )
    return cleaned_data