[parentheses] check for empty list