def validate_is_instance(a,cls,message='',exception=None):
    if not isinstance(a,cls):
        name,l = scoped_validation()
        ArgCheck(name,exception).validation(False,message,l)
@param idx: index of note to select. -1 if no selection.
dataset/ETHPy150Open ooici/pyon/pyon/util/arg_check.py/validate_is_instance--crossover with--dataset/ETHPy150Open cpbotha/nvpy/nvpy/view.py/NotesList.select