Made is_available a static method.