I'm not seeing how that implies he doesn't know Yoda. He's toying with Luke, playing at uncertainty so that Luke won't be sure exactly how much he does or doesn't know. Hell, if anything, the very deliberate phrasing "Lives he still?" could easily be read as Palpatine mocking Yoda's standard speech pattern.