#NEWLINE# def resource_allows_detail( self , resource_name , method ) : #NEWLINE# #INDENT# options = self . resource ( resource_name ) . _meta #NEWLINE# return ( method . lower ( ) in self . detail_allowed_methods )