add check the thrift keyword func

add check the thrift keyword func