how to check if relation with element exist laravel code example Example: laravel check if model relation exists $model->relation()->exists()