Hi everybody, I'm just wondering what is the more eficient and compact way to write statements like this
if(site.next(1) == null) {
return false;
}
if(site.next(2) == null) {
return false;
}
if(site.next(3) == null) {
return false;
}