Are you actually getting the return value or doing anything with it? How do you know that it isn't returning? For example:
1 2 3 4
bool isEqual = bank5.isEqual(bank6);
if (isEqual) {
// ...
}
Of course, you don't need to store it in the variable, you could just call it directly inside the if statement, but I don't know exactly what it is you want to do with the information so I left it as is.