Could sv function return a Multidimensional Arrays

In reply to dave_59:

typedef bit[7:0] marray[8][30];

function marray funcname(…);

is that correct?