This method looks if there is a suite with this name
there is a suite with this name: returns the TestSuite
not available: creates a TestSuite with this name and returns it.
Make sure that in the config.inc.php of your testlink the following settings are correct :
$tlCfg->api->enabled = TRUE;
$tlCfg->exec_cfg->enable_test_automation = ENABLED;