Implement magic method __isset to be compatible with Twig