def _trunk(port_data):
    """Return trunk for specific ifIndex.

    Args:
        port_data: Data dict related to the port

    Returns:
        trunk: True if port is in trunking mode

    """
    # Initialize key variables
    trunk = False

    # Determine if trunk for Cisco devices
    if 'vlanTrunkPortDynamicStatus' in port_data:
        if port_data['vlanTrunkPortDynamicStatus'] == 1:
            trunk = True

    # Determine if trunk for Juniper devices
    if 'jnxExVlanPortAccessMode' in port_data:
        if port_data['jnxExVlanPortAccessMode'] == 2:
            trunk = True

    # Return
    return trunk