checking if options spec is valid before sending to server