Making the isCoded method public