function b = BR_only_OR(s)
% BR_only_OR - determines if only v operator in string
% On input:
%     s (string): fully parenthesized logical sentence
% On output:
%     b (Boolean): 0 if ^ in s, else 1
% Call:
%     b = BR_only_AND('((1)v(2))');
% Author:
%     T. Henderson
%     UU
%     Fall 2018
%

NEG_OP = '~';
AND_OP = '^';

b = 1;

len_s = length(s);

for c = 1:len_s
    if s(c)==NEG_OP|s(c)==AND_OP
        b = 0;
        return
    end
end
