#NEWLINE# @ classmethod #NEWLINE# def show_in_navigation( cls , domain = None , project = None , user = None ) : #NEWLINE# #INDENT# if ( user and ( user . is_superuser or user . is_domain_admin ( domain ) ) ) : #NEWLINE# #INDENT# return True #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return False