Php Find Object In Array Python