laravel correct way to check if has many code example Example: laravel check if model relation exists $model->relation()->exists()