Because Basic4android/Java is strongly typed the type of the variable is determined at compile time so you already know if it is an array or not as you wrote the code.
EDIT: There is one exception to this that I can think of in that an Object type variable can hold an Object array. However you cannot do anything useful with it without assigning it back to a variable that the compiler knows is an array variable.
On the other hand a variable typed as a reference type, for example Object or View, can hold references to other types as long as they inherit from that variable type. In this case the "Is" keyword can be used to test the type of the reference in the variable.
From the help for Is
For i = 0 To Activity.NumberOfViews - 1
If Activity.GetView(i) Is Button Then
Dim b As Button
b = Activity.GetView(i)
b.Color = Colors.Blue
End If
Next