function isHandledLogicalOperator(operator) {
  return operator === '&&' || operator === '||' || operator === '??';
}
Checks whether the given logical operator is taken into account for the code
path analysis.
@param {string} operator The operator found in the LogicalExpression node
@returns {boolean} `true` if the operator is "&&" or "||" or "??"