The DayPilot.Columns.events.isEmpty() method returns true if there are no events in the calendar column.
true
DayPilot.Column.events.isEmpty()
boolean
const noEvents = dp.columns.find(DayPilot.Date.today()).events.isEmpty();