Revert "Added hasSolution() method"

This reverts commit 252ffd4f491afd92ab2bba25825429c2d24136a8.