public boolean exists ( final AbstractAttribute attribute ) throws NullValueException { if ( attribute == null ) { throw new NullValueException ( "attribute cannot be null" ) ; } for ( final AbstractHtml ownerTag : attribute . getOwnerTags ( ) ) { if ( browserPage . contains ( ownerTag ) ) { return true ; } } return false ; }
Checks the existence of an attribute instance .