Add method to check if a character is a new line