modified MATLAB-style short-circuit operators