protected function check_object_id( $object_id ) {
		$term = get_term( $object_id );
		if ( ! $term ) {
			WP_CLI::error( "Could not find the term with ID {$object_id}." );
		}
		return $term->term_id;
	}
protected function check_object_id( $object_id ) {
		$term = get_term( $object_id );
		if ( ! $term ) {
			WP_CLI::error( "Could not find the term with ID {$object_id}." );
		}
		return $term->term_id;
	}
protected function check_object_id ( $ object_id ) { $ term = get_term ( $ object_id ) ; if ( ! $ term ) { WP_CLI :: error ( "Could not find the term with ID {$object_id}." ) ; } return $ term -> term_id ; }
Check that the term ID exists

@param int
Check that the term ID exists