exists method

  1. @override
bool exists()
override

Check if controller exists

Implementation

@override
bool exists() {
  if (scope != null) {
    return scope!.exists<T>(tag: tag);
  } else {
    return Zen.findOrNull<T>(tag: tag) != null;
  }
}