Add method isSingleEnd