function val = isfield(A, fieldname)
%FIGHANDLE/ISFIELD

%   Copyright (c) 1984-98 by The MathWorks, Inc.
%   $Revision: 1.2 $  $Date: 1998/06/03 22:23:51 $

switch fieldname
case {'HandleStore' 'ObjectStore' 'Figure' 'HGHandle'}
   val = 1;
otherwise
   UD = getappdata(A.figStoreHGHandle,'ScribeObjectData');
   val = isfield(UD,fieldname);
end
      

