Added is prefix to all query functions in Sparsity and GenericMatrix, #982