def collection_check_options(options):
 try:
  _validate_collection_options(options)
  return True
 except ValueError:
  return False

def collection_check_options ( options ) : try : _validate_collection_options ( options ) return True except ValueError : return False
check collections options .