def find_in_string(sub, string):
    """Check if a substring is contained in another string.
    
    :param sub: Substring
    :type: str
    :param string: String which is checked if the substring is contained
    :type: str
    :return: Result if the substring is contained in the string
    :rtype: boolean
    """
    sub_l = sub.lower()
    string_l = string.lower()
    if sub_l in string_l or string_l in sub_l:
        return 1
    else:
        return 0