Prefer to check if != to avoid extra indentation