function checkworldinname(){
local gamename = fe.game_info (Info.Title)
return (gamename.find ("(World)") != null)
}
should do the trick, the function gets the title of the current name and look in the string for the substring "(World)", if the result is not null then the substring is there