Access Parent NameTag?

Hi,

I have a script as a child of an object. The parent has a dynamic name tag. How would I be able to read what the parents tag is if the script is a child.

EG:

Parent Tag = Select.

Child Script = if(ParantTag("Select"){ ....

Something like this:

if (transform.parent != null && transform.parent.tag == "Select")
{
}