'Link inspection flag representations to the inspection record
@param k: the inspection flag ID
@param v: the representation
@param row: the row from lookup_rows'

def link(self, k, v, row=None):

    if row:
        inspection_id = row.cr_shelter_inspection.id
        if inspection_id:
            return A(v, _href=URL(c='cr', f='shelter_inspection', args=[inspection_id]))
    return v
