It is a good question and I don’t design inverters so I don’t really know.
I imagine an inverter with one solar panel behind it can’t muster enough oomph to back feed a sizable chunk of distribution network - if it tried it would not be able to maintain nominal voltage. Say the load of the neighborhood is 500 kW, that’s 1200 A at 240V, which the inverter can’t supply unless there is 500 Kw of solar panels behind it. The 500kw load at 240V looks like a 0.2 ohm resistor to the inverter - essentially a short. Actually looking at the impedance of the network is one technique protection relays use to detect line faults.
Maybe the inverter can’t sustain the nominal voltage when feeding essentially a short so the voltage will be less then nominal and then it knows it is operating outside or normal conditions.
I can’t imagine a scenario in which the inverter could maintain nominal voltage at its terminals with a 0.2 ohm load looking out, if there is 240V across 0.2 ohm then there is 1200A through the 0.2 ohm.
In summary despite putting out voltage it will not be able to maintain the desired terminal voltage.
For frequency I understand most grid tie inverters somehow follow the grid frequency as opposed to generating their own.