Added a isValidLocation() in Sector