public function isHashed($attribute)
    {
        if ( ! array_key_exists($attribute, $this->attributes)) {
            return false;
        }

        $info = password_get_info($this->attributes[$attribute]);

        return (bool) ($info['algo'] !== 0);
    }
public function isHashed($attribute)
    {
        if ( ! array_key_exists($attribute, $this->attributes)) {
            return false;
        }

        $info = password_get_info($this->attributes[$attribute]);

        return (bool) ($info['algo'] !== 0);
    }
public function isHashed ( $ attribute ) { if ( ! array_key_exists ( $ attribute , $ this -> attributes ) ) { return false ; } $ info = password_get_info ( $ this -> attributes [ $ attribute ] ) ; return ( bool ) ( $ info [ 'algo' ] !== 0 ) ; }
Returns whether the attribute is hashed.

@param string $attribute name

@return bool
Returns whether the attribute is hashed .