def check_print_compat():
 return (not ((os.name == 'nt') and version_check('5.3.0', operator.lt)))

def check_print_compat ( ) : return ( not ( ( os . name == 'nt' ) and version_check ( '5.3.0' , operator . lt ) ) )
check if printing should work in the given qt version .