Use method_exists rather than version checking