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

%   Copyright 1984-2000 The MathWorks, Inc. 
%   $Revision: 1.4 $  $Date: 2000/08/01 22:09:51 $

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

