function boo = isstatic_(sys,~)
% Checks if system is static

% 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) = isstatic(D(ct));
   end
else
   boo = true;
   for ct=1:numel(D)
      if ~isstatic(D(ct))
         boo = false;  break
      end
   end
end