Check If Python Class Syntax Python If Functions