def rel_has_nofollow(rel):
 return (True if ((rel is not None) and ('nofollow' in rel.split())) else False)

def rel_has_nofollow ( rel ) : return ( True if ( ( rel is not None ) and ( 'nofollow' in rel . split ( ) ) ) else False )
return true if link rel attribute has nofollow type .