is_stim

nrv.utils.is_stim(stim)[source]

check if an object is a stimulus, return True if yes, else False

Parameters:

stim (object) – object to test

Returns:

True it the type is a stimulus object

Return type:

bool