public function IsValid() {
        if (!is_bool($this->value)) {
            $errorMsg = 'The $value property of the instance of ' . __CLASS__ . ' is not a boolean.';
            throw new InvalidArgumentException($errorMsg, Codes\GeneralErrors::VALUE_IS_NOT_OF_EXPECTED_TYPE, null);
        }

        return true;
    }