Is it a ghost?

Those shadows, bumps in the night, things that flick past in your vision. How do you know if they’re a ghost or not?