No aircraft works that way.
Completely wrong there. The E190 employs a very similar system called Tail Strike Avoidance (TSA). The fly-by-wire system limits pitch angle to 8 degrees nose up during take-offs, landings and go-arounds if an impending tail strike is sensed.
Protection during landing is based on the height above ground level (calculated using two radio altimeters) and protection during take-off is based on vertical speed.