moved frameset validator into frameset file and added _to_python validation