@cache_permission
def can_delete_dictionary(user, project):
 return check_permission(user, project, 'trans.delete_dictionary')

@ cache_permission def can_delete_dictionary ( user , project ) : return check_permission ( user , project , 'trans.delete_dictionary' )
checks whether user can delete dictionary for given project .