You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: py_scTenifoldXct2.m
    path of file: ./repos/scGEAToolbox/+run
    
    the code of the file until where you have to start completion: function [T, iscomplete] = py_scTenifoldXct2(sce1, sce2, cell
    
function in_prepareA(sce, A1, A2, id)
        if isempty(A1)
            if useexist && exist(sprintf('%d/usr_Source.mat', id), 'file')
                disp('Loading existing A1 network...');
                load(sprintf('%d/usr_Source.mat', id), 'A');
                A1 = A;
            else
                disp('Building A1 network...')
                A1 = sc_pcnetpar(sce.X(:, sce.c_cell_type_tx == celltype1));
                disp('A1 network built.')
            end