def is_dict(self, name):
    'Return True if variable is a dictionary'
    return communicate(self._get_sock(), ('isinstance(%s, dict)' % name))
Return True if variable is a dictionary
def is_dict(self, name):
    
    return communicate(self._get_sock(), ('isinstance(%s, dict)' % name))