check for valid options object