adding hasText method

Used to quickly check if a response contain a text