Python 2d Array Check If Element Exists