This is just another way of defining text checks. It is declaring the object and giving a name to the check and then defining it. Which part of the code can't you understand? I would suggest you first go through creating a text check within TP using the wizard. That might give you an understanding of what is going on here.