'check if Hostapd, isc-dhcp-server is installed'

def SoftDependencies(self):

    self.hostapd_path = self.FSettings.Settings.get_setting('accesspoint', 'hostapd_path')
    if (not path.isfile(self.hostapd_path)):
        return QMessageBox.information(self, 'Error    Hostapd', 'hostapd    is    not    installed')
    if self.FSettings.Settings.get_setting('accesspoint', 'dhcpd_server', format=bool):
        if (not self.SettingsEnable['ProgCheck'][3]):
            return QMessageBox.warning(self, 'Error    dhcpd', 'isc-dhcp-server    (dhcpd)    is    not    installed')
    return True
