check the relations of my model laravel code example Example: laravel check if model relation exists $model->relation()->exists()