Why not use isset() and normal array access here? I don't think the overhead of Hash is required here.