Did I find the right examples for you? yes no

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)
Determine if any string in haystack:list contains the specified
needle:string as a substring.

        def is_substring_in_list(needle, haystack):
    """
    Determine if any string in haystack:list contains the specified
    needle:string as a substring.
    """
    for e in haystack:
        if needle in e:
            return True
    return False
        


src/m/a/Mac-Fortress-HEAD/QuickFort.app/Contents/Resources/Scripts/qfconvert/blueprint.py   Mac-Fortress(Download)
        # and check that phase=build (the only mode that we'll support
        # manual material selection with right now)
        uses_manual_mats = util.is_substring_in_list(':', cmdset) and \
            self.build_type == 'build'
 

src/q/u/quickfort-HEAD/qfconvert/blueprint.py   quickfort(Download)
        # and check that phase=build (the only mode that we'll support
        # manual material selection with right now)
        uses_manual_mats = util.is_substring_in_list(':', cmdset) and \
            self.build_type == 'build'