def iso_reference_isvalid(ref):
ref = str(ref)<EOL>cs_source = ref[<NUM_LIT:4>:] + ref[:<NUM_LIT:4>]<EOL>return (iso_reference_str2int(cs_source) % <NUM_LIT>) == <NUM_LIT:1><EOL>
Validates ISO reference number