def arr_startswith(input_str, match_arr):
    """
    Test if string starts with any member of array.

    Arguments:
        input_str (str): String to check against.
        match_arr (list): List of items to check for.

    Returns:
        True if input_str starts with amy member of match_arr

    """
    for item in match_arr:
        if input_str.startswith(item):
            return True

    return False