Added hasIndex() method.