public function isAllow($object,$method,$token)
    {
        $allowed = $this->getAllowedMethods($token);
        $object = mb_strtolower($object);
        $method = mb_strtolower($method);
        $allow = false;
        if (
            (isset($allowed[$object]) && in_array($method,$allowed[$object]))
            || (isset($allowed[$object]) && in_array('*',$allowed[$object]))
            || (isset($allowed['*']) && in_array($method,$allowed['*']))
            || (isset($allowed['*']) && in_array('*',$allowed['*']))
        ) {
            $allow = true;
        };

        return $allow;
    }