check if params.options exists