validate_options function

Validate additional options or parameters provided to the API call