lib/Braintree/Address.php
public function isEqual($other)
    {
        return !($other instanceof self) ?
            false :
            ($this->id === $other->id && $this->customerId === $other->customerId);
    }
public function isEqual($other)
    {
        return !($other instanceof self) ?
            false :
            ($this->id === $other->id && $this->customerId === $other->customerId);
    }
public function isEqual ( $ other ) { return ! ( $ other instanceof self ) ? false : ( $ this -> id === $ other -> id && $ this -> customerId === $ other -> customerId ) ; }
returns false if comparing object is not a Address,
or is a Address with a different id

@param object $other address to compare against
@return boolean
returns false if comparing object is not a Address or is a Address with a different id