import re


def search_string(text, key):
    """
    Is the key word present in the sentence?

    Parameters
    ----------
        text: str
            Text selected to apply transformation

        key: str
            Word to search within the phrase

    Examples:
    ---------
    ```python
    sentence="Happy Mothers day to all Moms"
    search_string(sentence,'day')
        >>> True
    ```
    """
    return bool(re.search(r''+key+'', text))