contains method
Returns true if found.
Implementation
@override
bool contains(StateXController con) {
bool contains = false;
for (final controller in controllerList) {
contains = controller == con;
if (contains) {
break;
}
}
return contains;
}