function startUpVariantDetected = checkIfStartUpVariantBlock(blockH)
%checkIfStartUpVariantBlock : Check if given block is start-up variant
     startUpVariantDetected = false;

     try
         variantBlkType = get_param(blockH, 'variantActivationTime');
     catch
         % For other blocks, getting activation time would error out
         return;
     end

     if strcmp(variantBlkType, 'startup')
        startUpVariantDetected = true;
        return;
     end
end

