Changing isVisible to include a check for isAvailable