Is there a routine that check if a block it's inside a region? For example i have a table block that i use to make the layout of an house and when i put it in the region "kitchen" i want that the attribute "location" say "kitchen".