Compare a few ways of checking door state