not getting True or False when using boolean in python
<pre><code> def ping_host(self,host_name):
        """ping host to check if its active"""
        return_responce = os.system('ping -c 1 ' + host_name)
        if return_responce == 0:
            return True
        else:
            return False
</code></pre>