code: def is_identity():
          
          for index, row in enumerate(self.dta):
              if row[index] == 1:
                  for num, element in enumerate(row):
                      if num != index:
                          if element != 0:
                              return False
              else:
                  return False
  
          return True
docs: Check to see if this matrix is an identity matrix.