Check if the item "logbook_availability" is class integer and if all values are 1 or 0.

check_logbook_availability(logbook_availability)

Arguments

logbook_availability

Object of class integer expected. Logbook availability value, 1 for available and 0 for not.