Pregunta de entrevista de Microsoft

Write a python code to check if a substring is present in a string.