@memoized_with_request(list_extensions)
def extension_supported(extensions, extension_name):
 for extension in extensions:
  if (extension.name == extension_name):
   return True
 return False

@ memoized_with_request ( list_extensions ) def extension_supported ( extensions , extension_name ) : for extension in extensions : if ( extension . name == extension_name ) : return True return False
this method will determine if cinder supports a given extension name .