Did I find the right examples for you? yes no

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)

        def is_attr(key, params, strings):
    if not isinstance(strings, list):
        strings = [strings]
    if key in params:
        if [str1 for str1 in strings if str1.lower() == params[key].lower()]:
            return True
    return False
        


src/c/o/coshsh-HEAD/coshsh/application.py   coshsh(Download)
import inspect
import logging
from util import compare_attr, is_attr
from item import Item
from templaterule import TemplateRule