docstr: Check if sql ends with 'text'. Not case sensitive.
          
code: def ends_with(self, text):
      """Check if sql ends with 'text'. Not case sensitive."""
      test_sql = " ".join(self._sql.split()).lower()
      return test_sql.endswith(text.lower())
  
file_path: mindsdb/mindsdb/api/mysql/mysql_proxy/classes/sql_statement_parser.py
imports: import re
  from pyparsing import CaselessKeyword, originalTextFor, ParseException, ParserElement, QuotedString, ZeroOrMore, nestedExpr, restOfLine, StringEnd, Literal, SkipTo
  from mindsdb.api.mysql.mysql_proxy.utilities import exceptions
label_desc: Use image node_id 7 for calling the SqlStatementParser obj's underlying member method code with example usage: obj.ends_with(text) and returns: test_sql