Check If Python Class Syntax Python Version