Is it true companies prefer local graduates when hiring?

From other posts, the OP graduated UCLA in 2023.