'Determine if the address is shortened.
Args:
ip_str: A string, the IPv6 address.
Returns:
A boolean, True if the address is shortened.'

def _is_shorthand_ip(self, ip_str=None):

    if (ip_str.count('::') == 1):
        return True
    return False
