Php Find Key Index In Python List