jQuery hasAttr() has Attribute plugin

Straight from here:

http://stackoverflow.com/a/4661989/1488103

 

Use as so:

 

Where the attribute being checked for is ‘rel’.