Text this: A decidable characterization of locally testable tree languages