correct checking if autoincrement-mixin can be used.