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: isDAQmx_Assembly_added.m
    path of file: ./repos/MATLAB_DAQmx_examples/code/+nidaqmx
    
    the code of the file until where you have to start completion: function varargout = isDAQmx_Assembly_added
% Return true if NI .NET assembly has been added
%
% function isAdded = nidaqmx.isDAQmx_Assembly_added
%
% Inputs
% None
%
% Outputs
% isAdded - true if NI DAQmx assembly has been added. false otherwise
%
%
% Rob Campbell - SWC 2022


    
function varargout = isDAQmx_Assembly_added
% Return true if NI .NET assembly has been added
%
% function isAdded = nidaqmx.isDAQmx_Assembly_added
%
% Inputs
% None
%
% Outputs
% isAdded - true if NI DAQmx assembly has been added. false otherwise
%
%
% Rob Campbell - SWC 2022

assemblies = System.AppDomain.CurrentDomain.GetAssemblies;

isAdded = false;

for ii = 1:assemblies.Length

    tName = char(assemblies(ii).GetName.Name);
    if contains(tName,'NationalInstruments')
        isAdded = true;
    end