def isHermitian(matlist, K):
 return (conjugate_transpose(matlist, K) == matlist)

def isHermitian ( matlist , K ) : return ( conjugate_transpose ( matlist , K ) == matlist )
checks whether matrix is hermitian examples .