Fail on older tasks versions in Azure DevOps

Hello !

Is there a way to make the preparation of the analysis fail if the SonarQube tasks used in the pipeline is not the latest installed ?

Since I installed the latest v8, I’d like all CI using v7 and older to fail.

Thank you !