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:31:15 $

if isempty(h.Handles)
    % UI does not exist yet
    boo = 0;
else
    boo = strcmp(get(h.Handles.Frame, 'Visible'), 'on');
end
