Check if Cohort definition name exists.
existsCohortName(cohortName, baseUrl)
A string name for the Cohort to be checked.
The base URL for the WebApi instance, for example: "http://server.org:80/WebAPI".
If found, the function will return a tibble with details of the specification. If not found, FALSE will be returned.
Check if a string name already exists in the WebApi as a Cohort definition name.
if (FALSE) {
existsCohortName(cohortName = "this text string needs to be checked",
baseUrl = "http://server.org:80/WebAPI")
}