Should this be `!=` rather than `is not`?