% isrunning - true if Matlab timer object is running
%
% isrunning :: timer => bool.
function f=isrunning(T), f=isvalid(T) && strcmp(get(T,'Running'),'on');
