':return: True if the plugin can connect to the ClamAV daemon.'

def _is_properly_configured(self):

    with self._config_check_lock:
        if (self._properly_configured is not None):
            return self._properly_configured
        if self._connection_test():
            msg = 'Using    %s    for    scanning    HTTP    response    bodies.'
            om.out.information((msg % self._get_clamd_version()))
            self._properly_configured = True
        else:
            msg = 'The    ClamAV    plugin    failed    to    connect    to    clamd    using    the    provided    unix    socket:    "%s".    Please    verify    your    configuration    and    try    again.'
            om.out.error((msg % self._clamd_socket))
            self._properly_configured = False
        return self._properly_configured
