function of some and any - Search