Add __isset($name) method to check if a field exists