In fact, each side of the triangle and, by consequence, its adjacent angles, are determined by the other two sides and its opposite angle. This imply that, if any two triangles have two equal sides forming a same angle, then the triangles are congruent.
Therefore, the statement is valid.