Sitting for long periods is a bad thing. You'd think that if someone was trying to sell a bike they'd actually make sure it's running properly before showing it to you. That said, it will probably be just fine after a little TLC. Fresh plugs and fuel, etc.