def METHOD_NAME(context, column, single=False):
    if context.region.width > PANEL_WIDTH_FOR_COLUMN:
        row = column.row()
        split = row.split(factor=0.5)
        column1 = split.column(align=True)
        split = split.split()
        column2 = split.column(align=True)
        is_row = False
    else:
        column1 = column.row().column(align=True)
        if not single:
            column.separator()
        column2 = column.row().column(align=True)
        is_row = True
    return column1, column2, is_row