set address filter mode

        Returns:
            True: successful to set address filter mode.
            False: fail to set address filter mode.

def __setAddressfilterMode(self, mode):
        """set address filter mode

        Returns:
            True: successful to set address filter mode.
            False: fail to set address filter mode.
        """
        print 'call setAddressFilterMode() ' +  mode
        try:
            if re.match('list', mode, re.M|re.I):
                cmd = WPANCTL_CMD + 'setprop MAC:' + mode + ':Enabled 1'
            elif mode == 'disabled':
                cmd = WPANCTL_CMD + 'setprop MAC:' + mode + ':Enabled 0'
            else:
                print 'no such option'
                return False
            if self.__sendCommand(cmd)[0] != 'Fail':
                return True
            return False
        except Exception, e:
            ModuleHelper.WriteIntoDebugLogger('__setAddressFilterMode() Error: ' + str(e))