laravel 8 check if relationship exists code example Example: laravel check if model relation exists $model->relation()->exists()