tag_exists ( $tag_name )
Checks whether a post tag with a given name exists.
function tag_exists( $tag_name ) { return term_exists( $tag_name, 'post_tag' ); }