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