code: def table_gsis(table_name):
      
      try:
          desc = DYNAMODB_CONNECTION.describe_table(table_name)[u'Table']
      except JSONResponseError:
          raise
  
      if u'GlobalSecondaryIndexes' in desc:
          return desc[u'GlobalSecondaryIndexes']
  
      return []
docs: Returns a list of GSIs for the given table
  
      :type table_name: str
      :param table_name: Name of the DynamoDB table
      :returns: list -- List of GSI names