This statement is false - if there are two solid yellow lines on the roadway, it means that passing is prohibited, not permitted.
If there are two broken yellow lines, or if there is one solid yellow line, and a broken second, then it means that you can pass, but not in this case.