CChecks::checkClientname

Description: Checks if a client name is valid (and optionally, if the client doesn't exist) and adds an error message to the message manager in case of an error.
Parameter:
Returns: