def is_switchport_default(existing):
    """Determines if switchport has a default config based on mode

    Args:
        existing (dict): existing switcport configuration from Ansible mod

    Returns:
        boolean: True if access port and access vlan = 1 or
                 True if trunk port and native = 1 and trunk vlans = 1-4094
                 else False

    Note:
        Specific for Ansible module(s).  Not to be called otherwise.

    """

    default = False
    mode = existing['mode']
    if mode == 'access':
        if existing['access_vlan'] == '1':
            default = True
    elif mode == 'trunk':
        if existing['native_vlan'] == '1':
            if existing['trunk_vlans'] == '1-4094':
                default = True
    return default