def is_orderer_tls_true(opts):
    """Check if tls is enabled for orderer
        Args:
            opts (dict): Nephos options dict.

        Returns:
            bool: return true if tls is enabled for orderer and false otherwise
    """
    if 'tls' in opts['ordering']:
        return opts['ordering']['tls']['enable'] == 'true'
    return False
