Is there a function that does something like:
Where it returns true if
$taxonomy has that
You’re probably looking for
<?php term_exists( $term, $taxonomy, $parent ); ?>
$term is required (obviously).
$parent are optional, but if you want to determine if a specific taxonomy has a given term, just pass the registered taxonomy name via the
term_exists( $term, $taxonomy );