code/libraries/joomlatools/library/user/abstract.php
public function has($identifier)
    {
        $attributes = $this->getData()->attributes;
        if(isset($attributes[$identifier])) {
            return true;
        }

        return false;
    }
public function has($identifier)
    {
        $attributes = $this->getData()->attributes;
        if(isset($attributes[$identifier])) {
            return true;
        }

        return false;
    }
public function has ( $ identifier ) { $ attributes = $ this -> getData ( ) -> attributes ; if ( isset ( $ attributes [ $ identifier ] ) ) { return true ; } return false ; }
Check if a user attribute exists

@param   string  $identifier Attribute identifier, eg foo.bar
@return  boolean
Check if a user attribute exists