Rather than return a boolean, this method should raise an error if it cannot succeed. Otherwise whoever is using this method in their test would need to know that they have to assert on the return value in the middle of their test.