def ci_lookup()

in hpcpack-autoscaler/src/cyclecloud-hpcpack/commonutil.py [0:0]


def ci_lookup(a:str, b:Union[List[str], Set[str]]) -> Optional[str]:
    for c in b:
        if ci_equals(a, c):
            return c
    return False