Use wpcf7_script_is() and wpcf7_style_is().

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