https://www.mathworks.com/help/matlab/ref/matlab.unittest.constraints.isinstanceof-class.html
matlab.unittest.constraints.IsInstanceOf - Test if value is instance of specified class - MATLAB
The matlab.unittest.constraints.IsInstanceOf class provides a constraint to test if a value is an instance of a specified class.