Python Type Checking Function Health