function status = isActive(h)

status = ...
[(~isempty(h.Xlow) && isfinite(h.Xlow)) || (~isempty(h.Xhigh) && isfinite(h.Xhigh)) || ...
  (~isempty(h.Ylow) && any(isfinite(h.Ylow))) || ...
  (~isempty(h.Yhigh) && any(isfinite(h.Yhigh)));...
 ~(isempty(h.Outlierwindow) || isempty(h.OutlierConf));...
 ~isempty(h.Mexpression);...
 ~isempty(h.Flatlinelength)];


