def METHOD_NAME(self, request, user):
    prev = super(
        SimilarityDisqualificationMixin, self
    ).METHOD_NAME(request, user)
    return (
        prev
        or SubmissionsSimilarityEntry.objects.filter(
            submission__problem_instance__contest=request.contest,
            submission__user=user,
        ).exists()
    )