code: def get_transcript_credentials_state_for_org(org, provider=None):
      
      query_filter = {'org': org}
      if provider:
          query_filter['provider'] = provider
  
      return {
          credential.provider: credential.exists
          for credential in ThirdPartyTranscriptCredentialsState.objects.filter(**query_filter)
      }
docs: Returns transcript credentials state for an org
  
      Arguments:
          org (unicode): course organization
          provider (unicode): transcript provider
  
      Returns:
          dict: provider name and their credential existance map
  
          {
              u'Cielo24': True
          }
          {
              u'3PlayMedia': False,
              u'Cielo24': True
          }