[MRG]Added has_fit_parameter method

Fixes #3711 
Ping @mblondel 
Put the private method in BaseWeightBoosting.