isAvailable

Checks whether the list of dates are available and not booked.

Return

true if every specified date is available and not booked, false otherwise.

Parameters

dates

The dates to be checked.