Logical for unclosed curly brackets

has_unclosed_curly_brackets(strings)