thats why you need to test drive it, do compressioin test, look at the frame (peel cracked PC means good chance for crack or bend), Kick start it COLD to see if it starts normal, and others will chime in on other stuff they check or I'm forgetting.
do a search there is lots of topicson what to check on a used bike.
Good Luck