isset to check if model exists laravel code example Example: laravel check if model relation exists $model->relation()->exists()