[MRG]Added has_fit_parameter method

Fixes #3711 
Ping @mblondel 
space missing