An experiment is defined as having annotation experiment(StopTime=...)
function isExperiment input TypeName name; output Boolean res; end isExperiment;