@staticmethod
def _test_is_single_matrix(data):
    """Static method because it belongs to the class, ie is only invoked via self.test_single_matrix or Adjacency.test_single_matrix and requires no self argument."""
    if len(data.shape) == 1:
        return True
    else:
        return False
