def changeset_revision_reviewed_by_user(user, repository, changeset_revision):
 for review in repository.reviews:
  if ((review.changeset_revision == changeset_revision) and (review.user == user)):
   return True
 return False

def changeset_revision_reviewed_by_user ( user , repository , changeset_revision ) : for review in repository . reviews : if ( ( review . changeset_revision == changeset_revision ) and ( review . user == user ) ) : return True return False
determine if the current changeset revision has been reviewed by the current user .