check for valid option object