check navigator agent