We usually get the parameters from params which is "yes" or "no" as a boolean value, by ("yes" == params.get("status_error", "no")).
So, if you set a value in configuration file with "yes" or "no", we use it as a boolean value.