Requesting help to detect wi-fi

Hi !!

I’m working on the rfx2400 daughterboard.

Is there an example program in python which will say if there is a wifi
signal present or not.

Even a simple example is more than enough for me. If it say that there
is or
there is not a wifi signal, is all I want.

Please help me with this.

Thanks in advance.