def METHOD_NAME(self):
    """AUTH (CURL): Test if token is valid"""
    cmd = 'curl -s -i --cacert %s -H "X-Rucio-Account: root" %s --cert %s --key %s -X GET %s/auth/x509 | tr -d \'\r\' | grep X-Rucio-Auth-Token:' % (self.cacert, self.vo_header, self.usercert, self.userkey, self.auth_host)
    exitcode, out, err = execute(cmd)
    assert 'X-Rucio-Auth-Token' in out
    os.environ['RUCIO_TOKEN'] = out[len('X-Rucio-Auth-Token: '):].rstrip()
    cmd = 'curl -s -i --cacert %s  -H "X-Rucio-Auth-Token: $RUCIO_TOKEN" -X GET %s/auth/validate' % (self.cacert, self.auth_host)
    print(self.marker + cmd)
    exitcode, out, err = execute(cmd)
    print(out)
    assert 'datetime.datetime' in out