Your answer is correct. the basal ganglia present in the brain plays an important role in
semi-autonomously function
They have two pairs of main nerve cords organized around a number of paired ganglia. while they don't have a "true brain"-- they have somewhat of a nervous system, composed of the two, or three pairs of nerve cords contained in the visceral mass.