I guess it can be changed to just `if (options.data)`