def _get_interface_switch_trunk_present(<EOL>self, nexus_host, intf_type, interface):
result = self.get_interface_switch(nexus_host, intf_type, interface)<EOL>if_type = '<STR_LIT>' if intf_type == "<STR_LIT>" else '<STR_LIT>'<EOL>if_info = result['<STR_LIT>'][<NUM_LIT:0>][if_type]<EOL>try:<EOL><INDENT>mode_cfg = if_info['<STR_LIT>']['<STR_LIT>']<EOL><DEDENT>except Exception:<EOL><INDENT>mode_cfg = None<EOL><DEDENT>mode_found = (mode_cfg == "<STR_LIT>")<EOL>try:<EOL><INDENT>vlan_list = if_info['<STR_LIT>']['<STR_LIT>']<EOL><DEDENT>except Exception:<EOL><INDENT>vlan_list = None<EOL><DEDENT>vlan_configured = (vlan_list != const.UNCONFIGURED_VLAN)<EOL>return mode_found, vlan_configured<EOL>
Check if 'switchport trunk' configs present.

        :param nexus_host:   IP address of Nexus switch
        :param intf_type:    String which specifies interface type.
                             example: ethernet
        :param interface:    String indicating which interface.
                             example: 1/19
        :returns mode_found: True if 'trunk mode' present
        :returns vlan_configured: True if trunk allowed vlan list present