#NEWLINE# def allowed( self , request , volume = None ) : #NEWLINE# #INDENT# if ( getattr ( request , 'bootable' , '' ) == 'true' ) : #NEWLINE# #INDENT# return ( volume . status == 'available' ) #NEWLINE# #UNINDENT# return False