Python Code for Highlighting Points in QGIS Based on SINR Criteria

Hi Experts.

I have uploaded a drive export in QGIS.

I want to highlight those points fulfilling criteria of “10 or more adjacent points which have sinr <-5”.

So if 8 samples are having SINR below -5, but 2 is above -5 in the middle, it will not highlight the entire set of 10 samples.

Anyone has python code for it to run in QGIS python console?