code: def check_resources_alias(resource_name, shortcuts):
      available_aliases = set(shortcuts)
      if resource_name.lower() not in available_aliases:
          aliases = ", ".join(sorted(available_aliases))
          pretty_print(
              "No resources found for {r}, available resource aliases are "
              "(case insensitive):\n{a}".format(
                  r=resource_name, a=aliases
              ),
              title="Unknown language resources",
              exits=1,
              level=PrettyPrintLevel.ERROR,
          )
  
file_path: snips-nlu/snips_nlu/cli/utils.py
imports: from __future__ import print_function, unicode_literals
  import logging
  import os
  import subprocess
  import sys
  from enum import Enum, unique
  import requests
  import snips_nlu
  from snips_nlu import __about__
  from snips_nlu.common.utils import parse_version
label_desc: Use image node_id 7 for calling a global function with example usage: check_resources_alias(resource_name, shortcuts) without return types