Made isAvailable a static method