source/Application/Component/UserComponent.php
private function canUserDeleteShippingAddress($address)
    {
        $canDelete = false;
        $user = $this->getUser();
        if ($address->oxaddress__oxuserid->value === $user->getId()) {
            $canDelete = true;
        }

        return $canDelete;
    }
private function canUserDeleteShippingAddress($address)
    {
        $canDelete = false;
        $user = $this->getUser();
        if ($address->oxaddress__oxuserid->value === $user->getId()) {
            $canDelete = true;
        }

        return $canDelete;
    }
private function canUserDeleteShippingAddress ( $ address ) { $ canDelete = false ; $ user = $ this -> getUser ( ) ; if ( $ address -> oxaddress__oxuserid -> value === $ user -> getId ( ) ) { $ canDelete = true ; } return $ canDelete ; }
Checks if shipping address is assigned to user.

@param Address $address
@return bool
Checks if shipping address is assigned to user .