Simplify checking of availability.