#NEWLINE# def is_client_allowed( self , username = None , client = None , server = None ) : #NEWLINE# #INDENT# 'See :func:`burpui.misc.acl.interface.BUIacl.is_client_allowed`' #NEWLINE# if ( ( not username ) or ( not client ) ) : #NEWLINE# #INDENT# return False #NEWLINE# #UNINDENT# if ( ( not server ) and self . servers ( username ) ) : #NEWLINE# #INDENT# return False #NEWLINE# #UNINDENT# cls = self . clients ( username , self ) #NEWLINE# return ( ( cls and ( client in cls ) ) or self . is_admin ( username ) )