@cache_permission
def can_upload_screenshot(user, project):
 return check_permission(user, project, 'trans.upload_screenshot')

@ cache_permission def can_upload_screenshot ( user , project ) : return check_permission ( user , project , 'trans.upload_screenshot' )
checks whether user can upload screenshot for given project .