def METHOD_NAME(source, withShape=False):
    # has to handle NumpyArray
    # check if the array is 5d, if not so embed it in a canonical way
    new_shp, _ = normalize_shape(source.shape)
    if new_shp != source.shape:
        source = source.reshape(new_shp)
    src = ArraySource(source)
    if withShape:
        return src, source.shape
    else:
        return src