returns 1 if object contains filter $Id$
0001 function tf = has_filter(o) 0002 % returns 1 if object contains filter 0003 % 0004 % $Id$ 0005 0006 tf = 0; 0007 des = des_struct(o); 0008 if isfield(des, 'xX') 0009 tf = isfield(des.xX, 'K'); 0010 end