# Functions

LocalityCheck create a function that will validate locality IDs stored in given keys This locality IDs should have the same locality as the resource It will search for zone or region in resource.