search exist relation or not value in laravel code example Example: laravel check if model relation exists $model->relation()->exists()