checking for model's table existance