sqlalchemy check constraints and operator precedence | Hacker News Reader