No, but Armenians are in no position to defend it. Their military has admitted as much. The 'peace' agreement is a way to preserve what is left of the army and the land. Azerbaijan keeps the territories in Nagorno-Karabakh they capture so far. Armenia will vacate Azeri districts around Nagorno-Karabakh that they occupied since the early 90s.
Most importantly for Turkey, they will have a direct land link with Azerbajian.