I think this will be easier to understand as `if opts[:text].present?` and `elsif options[:nothing]`, because we check for those things explicitly below anyway.