@s.o.s & @Ezzaral : Yes completely understand that returning the array index is a very good option in the case where you are writing a library which would be used by thousands, probably even more, and where each usage could have a different reason from the other one. This also sounds to be a good option while developing methods, that are going to be used by your programs, as there's no harm in it.
But my point here is, when the user knows that he is not building an API - he did not suggest that - and the method is going to be used in his program itself, where the purpose of the searching the number too is known beforehand, the option of returning the boolean would not be a bad one.
Antenka commented: Wow! Impressive speech :P +2