Checking bit value with | rather strange