<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def MGMT_ACTIVE_GET(self, Addr='', TLVs=[]):
 """send MGMT_ACTIVE_GET command Returns: True: successful to send MGMT_ACTIVE_GET False: fail to send MGMT_ACTIVE_GET """

        print '%s call MGMT_ACTIVE_GET' % self.port
        try:

            cmd = WPANCTL_CMD + 'dataset mgmt-get-active'

            if len(TLVs) != 0:
                tlvs = "".join(hex(tlv).lstrip("0x").zfill(2) for tlv in TLVs)
                setTLVCmd = WPANCTL_CMD + 'setprop Dataset:RawTlvs ' + tlvs
                if self.__sendCommand(setTLVCmd)[0] == 'Fail':
                    return False
            else:
                if self.__sendCommand(WPANCTL_CMD + 'dataset erase')[0] == 'Fail':
                    return False

            if Addr != '':
                setAddressCmd = WPANCTL_CMD + 'setprop Dataset:DestIpAddress ' + Addr
                if self.__sendCommand(setAddressCmd)[0] == 'Fail':
                    return False

            print cmd

            return self.__sendCommand(cmd)[0] != 'Fail'

        except Exception, e:
            ModuleHelper.WriteIntoDebugLogger('MGMT_ACTIVE_GET() Error: ' + str(e))