code: def transfer_sanity_check( name, consensus_hash ):
      
      if name is not None and (not is_b40( name ) or "+" in name or name.count(".") > 1):
         raise Exception("Name '%s' has non-base-38 characters" % name)
      
      # without the scheme, name must be 37 bytes 
      if name is not None and (len(name) > LENGTHS['blockchain_id_name']):
         raise Exception("Name '%s' is too long; expected %s bytes" % (name, LENGTHS['blockchain_id_name']))
      
      return True
docs: Verify that data for a transfer is valid.
  
      Return True on success
      Raise Exception on error