def _CheckIndexName(index_name):
 _ValidateString(index_name, 'index name', MAXIMUM_INDEX_NAME_LENGTH)
 return _ValidateVisiblePrintableAsciiNotReserved(index_name, 'index_name')

def _CheckIndexName ( index_name ) : _ValidateString ( index_name , 'index name' , MAXIMUM_INDEX_NAME_LENGTH ) return _ValidateVisiblePrintableAsciiNotReserved ( index_name , 'index_name' )
checks index_name is a string which is not too long .