def is_aer_provider_available():
<EOL>if sys.platform == '<STR_LIT>':<EOL><INDENT>return False<EOL><DEDENT>try:<EOL><INDENT>import qiskit.providers.aer  <EOL><DEDENT>except ImportError:<EOL><INDENT>return False<EOL><DEDENT>return True<EOL>
Check if the C++ simulator can be instantiated.

    Returns:
        bool: True if simulator executable is available