code: def validate_sns_topic_subscription(self, region):
          
          sns = self.session.client('sns', region_name=region)
          arn = 'arn:aws:sns:{}:{}:{}'.format(region, self.account.account_number, self.topic_name)
          try:
              data = sns.list_subscriptions_by_topic(TopicArn=arn)
          except ClientError as ex:
              self.log.error('Failed to list subscriptions by topic in {} ({}): {}'.format(
                  self.account.account_name,
                  region,
                  ex
              ))
              return False
  
          for sub in data['Subscriptions']:
              if sub['Endpoint'] == self.sqs_queue:
                  if sub['SubscriptionArn'] == 'PendingConfirmation':
                      self.log.warning('Subscription pending confirmation for {} in {}'.format(
                          self.account.account_name,
                          region
                      ))
                      return False
                  return True
  
          return False
docs: Validates SQS subscription to the SNS topic. Returns `True` if subscribed or `False` if not subscribed
          or topic is missing
  
          Args:
              region (str): Name of AWS Region
  
          Returns:
              `bool`