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: ica_fuse_openMatlabServer.m
    path of file: ./repos/fit/FITv2.0e/ica_fuse
    
    the code of the file until where you have to start completion: function ica_fuse_openMatlabSe
    
function status = checkCOM(h)
% Detect if it is COM object

status = 0;

if ~isempty(h)
    % MATLAB version
    versionNum = ica_fuse_get_matlab_version;

    if (versionNum < 14)
        status = isa(h, 'COM.matlab.application');
    else
        status = iscom(h);
    end