if isempty(A)
works just as well as
if isempty(A) == 0
which is redundant.
If your array is empty though then you will need to handle this as such. You cannot index into an empty array.
In many usages you would want to make this check anyway though because your array being empty is a significant difference from it not being empty so you would expect to run different code in such circumstances.