@validator
def iban(value):
 return (pattern.match(value) and modcheck(value))

@ validator def iban ( value ) : return ( pattern . match ( value ) and modcheck ( value ) )
return whether or not given value is a valid iban code .