Create the variable and save the negated value in it.
Make sure to assemble var isAvailable = !openSlot.
var isAvailable = !openSlot