is.mat.onemode function

Check whether a matrix is one-mode or directed