#NEWLINE# @ memoized #NEWLINE# def extension_supported( extension_name , request ) : #NEWLINE# #INDENT# '\n    this method will determine if nova supports a given extension name.\n    example values for the extension_name include AdminActions, ConsoleOutput,\n    etc.\n    ' #NEWLINE# extensions = list_extensions ( request ) #NEWLINE# for extension in extensions : #NEWLINE# #INDENT# if ( extension . name == extension_name ) : #NEWLINE# #INDENT# return True #NEWLINE# #UNINDENT# #UNINDENT# return False