How to check if pin is floating or connected to ground?
If a current isn't flowing, there is no way to know whether the pin floating or connected to something. Just put a much bigger resistor - say 470k - and a small 0.1uF cap to prevent noise from causing false triggers. That should reduce power consumption to the point where it is no longer relevant (depending on your specific application of course).