function isAl = isActiveLogic(options)
% isActiveLogic: Given sldvoptions, checks whether design error
% detection mode is enabled, and DeadLogic and ActiveLogic are enabled.

% Copyright 2019-2020 The MathWorks, Inc.

    isAl = strcmp(options.Mode, 'DesignErrorDetection') && ...
           strcmp(options.DetectDeadLogic, 'on') && ...
           strcmp(options.DetectActiveLogic, 'on');
end
