isEmpty() in MapBBCodeProcessor