Use method_exists to check assetic framework compatibility.