lnodes_is_valid: Now handling of return value of MPI-function.
lnodes_is_valid: sc_array lookups now use the sc_array_index functions