CChecks::checkMAC

Description: Checks if a MAC is valid (and optionally if it is not in use) and adds an error message to the message manager in case of an error.
Parameter:
Returns: