Use instanceof operator instead of is_a() since calling is_a() may result in an E_STRICT warning in PHP 5.2.x environment.

git-svn-id: https://plugins.svn.wordpress.org/contact-form-7/trunk@1057249 b8457f37-d9ea-0310-8a92-e5e31aec5664