laravel check relation table have value code example Example: laravel check if model relation exists $model->relation()->exists()