https://fr.mathworks.com/help/driving/ref/ibeomessagereader.hasnextmessage.html
hasNextMessage - Check if Ibeo Data Container (IDC) file selection has next message - MATLAB
This MATLAB function checks if the IDC file selection has a subsequent message to read.