add new check_host_keyring function for better checks for the