src/AddressDataExtension.php
public function isAddressChanged($level = 1)
    {
        $fields = ['Address', 'Address2', 'City', 'State', 'PostalCode', 'Country'];
        $changed = $this->owner->getChangedFields(false, $level);
        foreach ($fields as $field) {
            if (array_key_exists($field, $changed)) {
                return true;
            }
        }

        return false;
    }
public function isAddressChanged($level = 1)
    {
        $fields = ['Address', 'Address2', 'City', 'State', 'PostalCode', 'Country'];
        $changed = $this->owner->getChangedFields(false, $level);
        foreach ($fields as $field) {
            if (array_key_exists($field, $changed)) {
                return true;
            }
        }

        return false;
    }
public function isAddressChanged ( $ level = 1 ) { $ fields = [ 'Address' , 'Address2' , 'City' , 'State' , 'PostalCode' , 'Country' ] ; $ changed = $ this -> owner -> getChangedFields ( false , $ level ) ; foreach ( $ fields as $ field ) { if ( array_key_exists ( $ field , $ changed ) ) { return true ; } } return false ; }
Returns TRUE if any of the address fields have changed.

@param int $level

@return bool
Returns TRUE if any of the address fields have changed .