def check_ipaddr(address):
    """ quick check ip address for common errors """
    if isinstance(address, str) and len(address) < 50 and ('.' in address or
        ':' in address):
        return True
    else:
        return False
