Write a clear and concise contract for the isSubstring function from a previous question.