def check_podman_command_works():
try:<EOL><INDENT>out = subprocess.check_output(["<STR_LIT>", "<STR_LIT:version>"],<EOL>stderr=subprocess.STDOUT,<EOL>universal_newlines=True)<EOL><DEDENT>except OSError:<EOL><INDENT>logger.info("<STR_LIT>")<EOL>raise CommandDoesNotExistException(<EOL>"<STR_LIT>"<EOL>"<STR_LIT>"<EOL>)<EOL><DEDENT>except subprocess.CalledProcessError as ex:<EOL><INDENT>logger.error("<STR_LIT>", ex)<EOL>logger.error("<STR_LIT>", ex.returncode, ex.output)<EOL>raise ConuException(<EOL>"<STR_LIT>"<EOL>"<STR_LIT>"<EOL>)<EOL><DEDENT>else:<EOL><INDENT>logger.info("<STR_LIT>", out)<EOL><DEDENT>return True<EOL>
Verify that podman binary works fine. This is performed by calling `podman
version`, which also checks server API version.

:return: bool, True if all is good, otherwise ConuException or CommandDoesNotExistException
          is thrown