code: def is_affine_mat44(mat):
      
  
      # Ensure scale is uniform
      if not (mat.data[0][0] == mat.data[1][1] == mat.data[2][2]):
          return False
  
      # Ensure row [3] is 0, 0, 0, 1
      return (mat.data[0][3] == 0 and
              mat.data[1][3] == 0 and
              mat.data[2][3] == 0 and
              mat.data[3][3] == 1)
docs: Return True if only tranlsate, rotate, and uniform scale components.