@cache_permission
def can_overwrite_translation(user, project):
 return check_permission(user, project, 'trans.overwrite_translation')

@ cache_permission def can_overwrite_translation ( user , project ) : return check_permission ( user , project , 'trans.overwrite_translation' )
checks whether user can overwrite translation on given project .