Python 3.7.3 (default, Apr  3 2019, 05:39:12) 
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license()" for more information.
>>> def sentence_string(sentence: str) -> bool:
	return "animal" in sentence

>>> sentence_string("there is a farm with animals")
True
>>> 
