check for model has been created