'check if interface is already in file config'

def check_interfaceinNetWorkManager(self, interface):

    mac = Refactor.get_interface_mac(interface)
    if (mac != None):
        if (mac in open(self.mn_path, 'r').read()):
            return True
        if (interface in open(self.mn_path, 'r').read()):
            return True
    return False
