Disable interface polling, unless a neighbor is detected

I am looking of a solution, where I disable interface polling globally, and exempt that behavior whenever an interface has a LLDP / CDP neighbor.

Ideas??