function boo = hasInternalDelay_(sys,~)
% Checks for internal delays

% Copyright 1986-2014 The MathWorks, Inc.
D = sys.Data_;
if nargin>1
   % Elementwise check
   boo = true(size(D));
   for ct=1:numel(D)
      boo(ct) = hasInternalDelay(D(ct));
   end
else
   boo = false;
   for ct=1:numel(D)
      if hasInternalDelay(D(ct))
         boo = true;  break
      end
   end
end