about local statements inside block



Dear List,

Am I right to expect that local declaration like, e.g., 
f(a):=block(local(y),y:2, a*y);
will declare variable y to belong to that block only?
I thought it should not affect computations with variable y outside of that 
function? 

rgds
Valery