def validate_not_is_instance(a,cls, message='', exception=None):
    if isinstance(a,cls):
        name,l = scoped_validation()
        ArgCheck(name,exception).validation(False,message,l)
Raises an exception if a is an instance of cls
dataset/ETHPy150Open ooici/pyon/pyon/util/arg_check.py/validate_not_is_instance