from typing import Iterable


def contains_substring(s_in: str, subs: Iterable[str]) -> bool:
    """
    Determine if any of the given substrings is in the given string.

    Parameters
    ----------
    s_in: str
        Input string to check for given substrings.
    subs: iterable of str
        Substrings to check for in str

    Examples
    --------
    >>> from glo.helpers import contains_substring
    >>> contains_substring("this is a test", ["hey", "there"])
    False
    >>> contains_substring("this is another test", ["test", "hey", "there"])
    True
    >>> contains_substring("this is another test", ["this", "is", "another"])
    True
    >>> contains_substring("THIS IS ANOTHER TEST", ["this", "is", "another"])
    False
    """

    return any(sub_str in s_in for sub_str in subs)