Comments

Use taxonomy_term_load_multiple_by_name() to load the the term by name (specify vocabulary if you wish). If the result is null, it doesn't exist. Then you can create the term and save it.

My favorite way to create entities is with entity_create()