Question from the Terraform : certification training test

Can a variable declared in a locals block reference another local variable in Terraform?