Helper/Cart.php
private function isAddressComplete($address)
    {
        foreach ($this->requiredAddressFields as $field) {
            if (empty($address[$field])) {
                return false;
            }
        }
        return true;
    }
private function isAddressComplete($address)
    {
        foreach ($this->requiredAddressFields as $field) {
            if (empty($address[$field])) {
                return false;
            }
        }
        return true;
    }
private function isAddressComplete ( $ address ) { foreach ( $ this -> requiredAddressFields as $ field ) { if ( empty ( $ address [ $ field ] ) ) { return false ; } } return true ; }
Check if all the required address fields are populated.

@param array $address
@return bool
Check if all the required address fields are populated .