[MRG]Added has_fit_parameter method

Fixes #3711 
Ping @mblondel 
I would rather use a private method:
```
self._check_sample_weight()
```