Laravel Find In Array Python Practice