Robuta

https://au.mathworks.com/help/matlab/ref/isprop.html isprop - Determine if property is defined by object - MATLAB This MATLAB function returns logical 1 (true) if the specified PropertyName is a property of object obj. is defined bydeterminepropertyobjectmatlab