#NEWLINE# def checkValid( self , creds , privs , slice_urn = None ) : #NEWLINE# #INDENT# if ( not request . environ . has_key ( 'CLIENT_RAW_CERT' ) ) : #NEWLINE# #INDENT# return True #NEWLINE# #UNINDENT# if isinstance ( privs , str ) : #NEWLINE# #INDENT# privs = [ privs ] #NEWLINE# #UNINDENT# self . _cred_verifier . verify_from_strings ( request . environ [ 'CLIENT_RAW_CERT' ] , creds , slice_urn , privs ) #NEWLINE# return True