laravel check if a specific relationschip exists code example Example: laravel check if model relation exists $model->relation()->exists()