check is next symbol is space symbol or not