def __getitem__(self, item):
    index = self._find_gkey(item)
    if (index > (- 1)):
        return self.gkeys[index].keyvalue
    elif (item in self.beams.keys()):
        return self.beams[item]
    else:
        return None
def __getitem__(self, item):
    index = self._find_gkey(item)
    if (index > (- 1)):
        return self.gkeys[index].keyvalue
    elif (item in self.beams.keys()):
        return self.beams[item]
    else:
        return None