comefrom: <doocs>0593.Valid Square_1.py
code: def check(a, b, c):
      (x1, y1), (x2, y2), (x3, y3) = a, b, c
      d1 = (x1 - x2) * (x1 - x2) + (y1 - y2) * (y1 - y2)
      d2 = (x1 - x3) * (x1 - x3) + (y1 - y3) * (y1 - y3)
      d3 = (x2 - x3) * (x2 - x3) + (y2 - y3) * (y2 - y3)
      return any(
          [
              d1 == d2 and d1 + d2 == d3 and d1,
              d2 == d3 and d2 + d3 == d1 and d2,
              d1 == d3 and d1 + d3 == d2 and d1,
          ]
      )
masked: def sample_funcname ( var_0 , var_1 , var_2 ) :
      ( var_3 , var_4 ) , ( var_5 , var_6 ) , ( var_7 , var_8 ) = var_0 , var_1 , var_2
      var_9 = ( var_3 - var_5 ) * ( var_3 - var_5 ) + ( var_4 - var_6 ) * ( var_4 - var_6 )
      var_10 = ( var_3 - var_7 ) * ( var_3 - var_7 ) + ( var_4 - var_8 ) * ( var_4 - var_8 )
      var_11 = ( var_5 - var_7 ) * ( var_5 - var_7 ) + ( var_6 - var_8 ) * ( var_6 - var_8 )
      return any ( [ var_9 == var_10 and var_9 + var_10 == var_11 and var_9 , var_10 == var_11 and var_10 + var_11 == var_9 and var_10 , var_9 == var_11 and var_9 + var_11 == var_10 and var_9 , ] )
  