Check If Element Already Exists In Array Python