check_dataless_annotations function

Helper function to stop annotation building when no data was provided