Added isAvailable method