def is_command_callable(command, name="<STR_LIT>"):
<EOL>code = os.system(<EOL>"<STR_LIT>".format(command))<EOL>if code != <NUM_LIT:0>:<EOL><INDENT>alias_value = "<STR_LIT>".format(name) if name else "<STR_LIT:U+0020>"<EOL>_LOGGER.debug("<STR_LIT>".<EOL>format(alias_value, command))<EOL><DEDENT>return not bool(code)<EOL>
Check if command can be called.

:param str command: actual command to call
:param str name: nickname/alias by which to reference the command, optional
:return bool: whether given command's call succeeded