The function checks whether the region is valid or not.
A State true indicates, that the function was executed successfully. Otherwise state is false.