class_docstr: Import CLTK corpora.
class_docstr_tok: ["Import","CLTK","corpora","."]
docstr: Check whether a corpus is available for import.
  :type corpus_name: str
  :param corpus_name: Name of available corpus.
  :rtype : str
docstr_tok: ["Check","whether","a","corpus","is","available","for","import",".",":","type","corpus_name",":","str",":","param","corpus_name",":","Name","of","available","corpus",".",":","rtype",":","str"]
code: def _get_corpus_properties(self, corpus_name: str):
      """Check whether a corpus is available for import.
      :type corpus_name: str
      :param corpus_name: Name of available corpus.
      :rtype : str
      """
      try:
          corpora = self.all_corpora
      except NameError as name_error:
          msg = "Corpus not available for language " '"%s": %s' % (
              self.language,
              name_error,
          )
          logger.error(msg)
          raise CorpusImportError(msg)
      for corpus_properties in corpora:
          if corpus_properties["name"] == corpus_name:
              return corpus_properties
      msg = 'Corpus "%s" not available for the ' '"%s" language.' % (
          corpus_name,
          self.language,
      )
      logger.error(msg)
      raise CorpusImportError(msg)
  
imports: import errno
  import os
  import shutil
  import sys
  from urllib.parse import urljoin
  import yaml
  from git import RemoteProgress, Repo
  from cltk.core.cltk_logger import logger
  from cltk.core.exceptions import CorpusImportError
  from cltk.languages.utils import get_lang
  from cltk.utils.utils import CLTK_DATA_DIR
label_desc: Use image node_id 7 for calling the FetchCorpus obj's underlying member method code with example usage: obj._get_corpus_properties(corpus_name) and returns: corpus_properties