### Is there an existing issue for this?

- [X] I have searched the existing issues

### Current Behavior

When publishing a batch of messages to SNS using publish-batch command the result is always success, regardless of the topic being present.

Example result:
```
{
    "Successful": [
        {
            "Id": "1",
            "MessageId": "539277ec-2053-4e30-bc97-2f7075687cbd"
        }
    ],
    "Failed": []
}
```

### Expected Behavior

Publishing a batch of messages to a non-existing topic should return an error, as done by real implementation.

Expected Result
```
An error occurred (NotFound) when calling the PublishBatch operation: Topic does not exist
```

### How are you starting LocalStack?

With a docker-compose file

### Steps To Reproduce

#### How are you starting localstack (e.g., `bin/localstack` command, arguments, or `docker-compose.yml`)

    docker compose up -d

Docker-compose file:
```
services:
  localstack:
    image: 256612512925.dkr.ecr.eu-central-1.amazonaws.com/localstack:1.0.1
    ports:
      - "4576:4566"
    environment:
      - SERVICES=sns,sqs
      - AWS_DEFAULT_REGION=eu-central-1
      - DATA_DIR=/tmp/localstack/data
      - DEBUG=1
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - /docker/localstack/data:/tmp/localstack/data
      - ./docker/localstack/init:/docker-entrypoint-initaws.d
```

#### Client commands (e.g., AWS SDK code snippet, or sequence of "awslocal" commands)

    awslocal sns publish-batch --topic-arn "arn:aws:sns:eu-central-1:000000000000:invalid.fifo" --publish-batch-request-entries Id=1,Message=hi,MessageGroupId=1234


### Environment

```markdown
- OS: MacOS Monterey 12.5
- LocalStack: 1.0.1
```


### Anything else?

_No response_
):
                    raise InvalidParameterException(
                        "Invalid parameter: The topic should either have ContentBasedDeduplication enabled or MessageDeduplicationId provided explicitly",
                    )
        response = {"Successful": [], "Failed": []}
        for entry in publish_batch_request_entries:
            message_id = str(uuid.uuid4())
            data = {}
            data["TopicArn"] = [topic_arn]
            data["Message"] = [entry["Message"]]
            data["Subject"] = [entry.get("Subject")]
            if ".fifo" in topic_arn:
                data["MessageGroupId"] = [entry.get("MessageGroupId")]
                data["MessageDeduplicationId"] = [entry.get("MessageDeduplicationId")]
            
            message_attributes = entry.get("MessageAttributes", {})
            try:
                message_to_subscribers(
                    message_id,
                    entry["Message"],
                    topic_arn,
                    data,
                    context.request.headers,
                    message_attributes=message_attributes,
                )
                response["Successful"].append({"Id": entry["Id"], "MessageId": message_id})
            except Exception:
                response["Failed"].append({"Id": entry["Id"]})
        return PublishBatchResponse(**response)
    def set_subscription_attributes(