function boo = isVisible(h)
%ISVISIBLE  Returns 1 if editor is visible.

%   Copyright 1986-2002 The MathWorks, Inc. 
%   $Revision: 1.1.6.2 $ $Date: 2004/12/10 19:33:18 $

if ~isa(h.Dialog,'sisogui.tooldlg')
    % UI does not exist yet
    boo = 0;
else
    boo = h.Dialog.isVisible;
end
