public function isActionAvailable($object, $action)
    {
        $method = $this->getActionMethod($action);
        try {
            $ref = new \ReflectionMethod($object, $method);
            if ($ref->isPublic() && $method === $ref->name) {
                return true;
            } else {
                return false;
            }
        } catch (\ReflectionException $e) {
            return false;
        }
    }