Logical for unclosed parentheses

has_unclosed_parentheses(strings)