options type checking in validate_options method