Implement the canLike permission
empty() can only work with vars so use the direct value of $this->_app['tools']->setting('likes')

Signed-off-by: Suki <suki@missallsunday.com>