@staticmethod
def address_exists(profile, address):
    """
        try to detect if a address is already in a profile
        :param profile: haystack
        :param address: needle
        :return: Boolean True/False
        """
    for item in profile['addresses']:
        thisisit = True
        for key in address:
            if key == 'country' and not item.get('country', False):
                continue
            if not (item[key] == address[key] or item[key] == '' and 
                address[key] is None):
                thisisit = False
        if thisisit:
            return True
    return False
