OutputCheck/Utils.py
def isA(instance, typeList):
    """
        Return true if ``instance`` is an instance of any the Directive
        types in ``typeList``
    """
    return any(map(lambda iType: isinstance(instance,iType), typeList))
def isA(instance, typeList):
    """
        Return true if ``instance`` is an instance of any the Directive
        types in ``typeList``
    """
    return any(map(lambda iType: isinstance(instance,iType), typeList))
def isA ( instance , typeList ) : return any ( map ( lambda iType : isinstance ( instance , iType ) , typeList ) )
Return true if ``instance`` is an instance of any the Directive
        types in ``typeList``
Return true if instance is an instance of any the Directive types in typeList