scalein instance check