checks if an expression has redundant braces