function ok = isopen(h)
%ISOPEN  Returns 1 if GUI is open, 0 otherwise

%   Author(s): A. DiVergilio
%   Copyright 1986-2000 The MathWorks, Inc. 
%   $Revision: 1.2 $  $Date: 2000/06/14 20:16:09 $
        
if isempty(h.EditorFrame) | ~(h.EditorFrame.isVisible)
   ok = 0;
else
   ok = 1;
end
