Blynk_read

Hoi,
Does anybody know why:

BLYNK_READ
{
if (param.asInt())
If (mySwitch.available()){
int value=mySwitch.getReceivedValue();
BLYNK.virtualWrite(V7);
}

Is nog working ???

This is part of software tot switch lights in my house etc (that is working without problem)
Now I like to know if the lights are realy on, thats the part just mentioned for.
Thanks

Because of this

This line is not needed.

Thanks !! That was all indeed.